Form Etiquette The Format Use label to identify the label Need to - - PowerPoint PPT Presentation

form etiquette the format
SMART_READER_LITE
LIVE PREVIEW

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,


slide-1
SLIDE 1

Form Etiquette

slide-2
SLIDE 2

The Format

  • Use label to identify the label
  • Need to use id in input (not name)
  • Identifies the correct semantics
slide-3
SLIDE 3

Use div

  • <p> may give the right styling
  • But the wrong semantics
  • If you need a tag to format, use <div>
slide-4
SLIDE 4

Bottom line

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