ken_gal
Status: New User - Welcome
Joined: 13 Apr 2006
Posts: 4
Location: UK
Back to top
Posted: Apr 14, 06, 0:13    an attribute value must be a literal unless it contains only
I have a problem when trying to validate my html code with the W3C validator which gives me the following message:

This page is not Valid HTML 4.01 Transitional!

Error Line 393 column 43: an attribute value must be a literal unless it contains only name characters.

...r> <a href=javascript:popcontact('disclaimer.htm')>

I have tried various ways of rewriting the code to avoid the problem but nothing seems to work. I would very much appreciate any help.
jalarie
Status: Interested
Joined: 16 Sep 2005
Posts: 11
Back to top
Posted: Apr 14, 06, 5:20    
Try adding double-quote marks and a semicolon like this:

:: Code ::

  <a href="javascript:popcontact('disclaimer.htm');">
ken_gal
Status: New User - Welcome
Joined: 13 Apr 2006
Posts: 4
Location: UK
Back to top
Posted: Apr 14, 06, 13:38    an attribute value must be a literal unless it contains only
Many thanks for your help. The program now works perfectly.
Display posts from previous:   

All times are GMT - 8 Hours