Results 1 to 7 of 7
Thread: Stopping me validate my html
Aug 20, 2006, 05:32 #1
- Join Date
- Dec 2002
- 0 Post(s)
- 0 Thread(s)
Stopping me validate my html
I have a script that enables me to show images and the trigger is -
<input type="radio" name="_$Extras" value="0;0;None" checked onClick=changeExtra('/images/empty.gif')>
an attribute value must be a literal unless it contains only name characters.
You have used a character that is not considered a "name character" in an attribute value. Which characters are considered "name characters" varies between the different document types, but a good rule of thumb is that unless the value contains only lower or upper case letters in the range a-z you must put quotation marks around the value. In fact, unless you have extreme file size requirements it is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary.
If anyone can shed any light i would be grateful.