How to code the label tag for XHTML
Posted
by oReiLLy
on Stack Overflow
See other posts from Stack Overflow
or by oReiLLy
Published on 2010-04-29T10:58:20Z
Indexed on
2010/04/29
11:07 UTC
Read the original article
Hit count: 340
XHTML
Label tag coding style.
Can I write my label tag like this.
<input type="text" name="lname" id="ln" />
<label for="ln">Last Name:</label>
Instead of like this.
<label for="ln">Last Name:</label>
<input type="text" name="lname" id="ln" />
© Stack Overflow or respective owner