I had this problem with the Google - prescribed search HTML code.

In your case instead of SELECTED:"selected"

Try checked:"checked" It solved my Google problem.

Also note the CAPS issue. The W3C validator checks for this so SELECTED would not work anyway

Maybe the selected:"selected" idea would work.


Will

<<inline: SigThkLong200.jpg>>



William H. Jensen, Jr.
67 Leninski Prospect
Apartment #174, 5th Floor
Moscow, Russia, 117296
Tel: (7)(095) 137-6546
[EMAIL PROTECTED]

US address for mail forwarding to Russia is:

William H. Jensen
c/o IPS, MB 951
Suite 572
666 Fifth Ave.
New York, NY, 10103

On Oct 26, 2004, at 3:46 AM, Michael Kear wrote:

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
******************************************************

Reply via email to