Hi Marie,

If you're going to use xhtml, you need to give every attribute a value. Your
example would become:

<option value="#" selected="selected">Select a page</option>

HTH,
Kay.


--
Kay Smoljak
Senior Developer/QC Leader/Search Optimisation
PerthWeb Pty Ltd - http://www.perthweb.com.au/
Ph: 08 9226 1366 - Fax: 08 9226 1375 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Marie
> Sent: Friday, 28 May 2004 9:17 AM
> To: [EMAIL PROTECTED]
> Subject: [WSG] new to the list
> 
> I'm having an issue with a drop-down menu on my page. When I 
> run my validator it comes up with this message & I'm not sure 
> how to fix it - can someone help please?
>  
> The page is here - http://marie-str.com/faeries/tester.html
>  
> This is the line of code I'm referring to -
> <option value="#" selected>Select a page</option>
>  
> and this is the message I get -
> The attribute "selected" does not have a value. All 
> attributes must have a value. This is required for XHTML/XML 
> documents or if the option to require attribute values is enabled. 
>  
> Marie  ~aka~  Vanille 
> About Certified XHTML Developer Level 1
> Vanille's Place - http://marie-str.com
> Technicolour Rainbow - http://techrain.ca
> the FlipSide - http://the-flipside.com
> 

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