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