WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Confused W3 css valitation error

for

From: John S. Britsios
Date: May 5, 2006 9:00AM


You html document has errors, even if W3C validator have not found them.

As you must know a quoted string (like an attribute value) cannot be
immediately followed by text. It must be followed by a space or by the
end of the tag. Is there a missing space character.

Here are the places the problem are:

<option
value="http://dbs.myflorida.com/newsletter/accesstech/2004_12.htm"selected="selected">December</option>
<option
value="http://dbs.myflorida.com/newsletter/accesstech/2004_12.htm"selected="selected">December</option>
<option
value="http://dbs.myflorida.com/newsletter/EyeOnUs/1205.html"selected="selected">December</option>
<option
value="http://dbs.myflorida.com/newsletter/EyeOnUs/eye1204.html"selected="selected">December</option>
<option
value="http://dbs.myflorida.com/newsletter/EyeOnUs/eye1203.html"selected="selected">December</option>

Best,

John




smithj7 wrote:
> Link to page in question.
> http://dbs.myflorida.com/newsletter/index.shtml
>
> I check xhtml of page with w3 validator. Validated
> Then I checked the css style sheet. Valitated
>
> Then I put up site and with the w3 links (css checked by page links)
>
> Got following error:
>
> Target: http://dbs.myflorida.com/newsletter/index.shtml
> Please, validate your XML document first!
>
> Line 227
>
> Column 75
>
> Element type "option" must be followed by either attribute
> specifications, ">" or "/>".
>
> Checked and double checked option and they are are closed to the best of
> my knowledge. Is it possibly my doc type. This is a html page not a
> xml page.
>
>
>
>
>
>