form etiquette the format
play

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,


  1. Form Etiquette

  2. The Format • Use label to identify the label • Need to use id in input (not name) • Identifies the correct semantics

  3. Use div • <p> may give the right styling • But the wrong semantics • If you need a tag to format, use <div>

  4. Bottom line <form name=“ formname ”> <div> <label for=“ inputid>any text</label> <input type=“ typename ” id=“ inputid ”> </div> </form>

Recommend


More recommend