HTML label tags - HTML form - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

10.5. HTML label label

Label tags - suggested that the meaning of the form (labelled)
  • Paired label is the label to <label> began to </ label> end
  • Between the two label the contents of the text is to demonstrate that
  • Attribute:
    • Common - general attributes
    • For - this label with the description of the form of id
    • Accesskey - Form Shortcuts visits
  • Trackback Address: http://www.nt22.com/xhtml-html/tag_label/

Note

  • Can be used for labels and label attributes form a connecting element
  • Tags can be certain visual rendering browser can click into, after clicking on the cursor will be displayed in the associated elements in the form.

Example

  "nt22form" Action <form id = = = "http://www.nt22.com/nt22.php" method "post" /> = <label for "contactus" /> Contact Us </ label> <textarea cols = "50 "rows =" 10 "id =" contactus " /> Rickie web@nt22.com </ textarea> </ form> 

Label label is the standard in web design an important component part of the form to play the role of semantics.