Form Etiquette
The Format • Use label to identify the label • Need to use id in input (not name) • Identifies the correct semantics
Use div • <p> may give the right styling • But the wrong semantics • If you need a tag to format, use <div>
Bottom line <form name=“ formname ”> <div> <label for=“ inputid>any text</label> <input type=“ typename ” id=“ inputid ”> </div> </form>
Recommend
More recommend