XHTML

Associate
Joined
26 Jan 2006
Posts
1,502
Hey guys,

the <input> tag is an inline tag so it must appear inside a block tag. However,

<form action="">
<input type="text" name="test" />
</form>

does not validate, and says <input> must be enclosed in <p><h1> .....

I am sure some books say this is legal.

ps: I am validating with XHTML 1.0 strict
 
Back
Top Bottom