Form Etiquette The Format Use label to identify the label Need to - PowerPoint PPT Presentation
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,
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
Explore More Topics
Stay informed with curated content and fresh updates.