It fails and I dont understand what there telling me...
http://validator.w3.org/check?uri=http%3A%...edesigns.com%2F
Any ideas?
Heres my form
<form action="/search/" method="post">
<div class="bg">
<label for="search">
<input type="text" id="search" name="search" value="Search immiles"
onfocus="if(this.value=='Search immiles')this.value='';" onblur="if(this.value=='')this.value='Search immiles';" />
</label>
</div>
<div class="bg">
<input type="submit" id="submit" name="submit" value="Search" />
<input type="reset" id="reset" name="reset" value="Reset" />
<input type="checkbox" id="check" name="check" value="1" checked />
<span class="text">Search<b>Site</b>?</span>
</div>
</form>
why does this fail xhtml strict?
Started by tiki, May 15 2005 08:21 PM
3 replies to this topic
#1
Posted 15 May 2005 - 08:21 PM
#2
Posted 15 May 2005 - 09:57 PM
I dont believe XHTML 1.0 Strict Supports the 'name' attribute. Only xhtml 1.0 transitional supports both.
#3
Posted 17 May 2005 - 01:57 AM
page seems fine here
#4
Posted 17 May 2005 - 10:26 PM
I changed the xhtml so its not checked instead of checked. So it works now.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
