I'm trying to validate a page, and I'm getting this error.
Line 183, column 28: the name and VI delimiter can be omitted from an
attribute specification only if SHORTTAG YES is specified
And also ..
Line 184, column 29: there is no attribute "SELECTED"
I have two problems with this .
I tried to find what the syntax of this should be, and couldn't find a
link anywhere to the actual syntax definition. I don't know what a VI
Delimiter is, and looked for a definition. I'd have thought that W3C would
have it somewhere linked to the validator, but not where I can see.
And also I was sure that SELECTED="selected" was correct, but apparently
not. Again I looked for the dinkum definition but couldn't find it.
Anyone know where it is?
Here's the code for the offending form element involved:
<label for="Referredby">Referred By:</label><select id="Referredby"
name="Referredby" >
<option value="0" selected>Search Engine</option>
<option value="5" SELECTED = "Selected" >Heard about the site on the
radio</option>
<option value="1" >Web Ring</option>
<option value="2" >E-Mail</option>
<option value="3" >Friend</option>
<option value="4" >Just Surfed In</option>
</select>
Cheers
Mike Kear
AFP Webworks
Windsor, NSW, Australia
http://afpwebworks.com
.com, .net, .org etc domains start at A$20/year
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************