Forum Moderators: open

Message Too Old, No Replies

Validation of select box

xhtml strict

         

ukgimp

12:54 pm on Mar 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



One step away from validations but the following is baffling me. Any pointers?

<option value="any" selected>Some label</option>

is causing this

Line 168, column 29: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified

<option value="any" selected>Any Resource Type</option>

with the bold being where the arrow would point to.

Cheers

Birdman

12:56 pm on Mar 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just use selected="selected", checked="checked",or multiple="multiple" and it should validate.

Birdman

ukgimp

1:03 pm on Mar 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Mr Birdman

I owe ya beer or some bird seed.

Cheers

Birdman

1:33 pm on Mar 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'll drink the beer and my feathered friends can have the seed :)