<option selected> does not validate

hi,

why does this

<select>
<option selected>
</select>

not validate??? I mean the <option selected> part…

I put “selected” in quotes, it also does not validate (XHTML 1.0)

thank you…

<option selected>…</option> is HTML

For XHTML you need to use <option selected="selected’>…</option>

ok great… that validates…:slight_smile:

thank you very much…