• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

The <LABEL> Element

You use the <LABEL> element to specify a label for a control in a form such as a text field or a button. This element has two properties not covered by the core list, and you can see those properties in Table 11.7.

Table 11.7. The Properties of the <LABEL> Element (See Chapters 5 and 6 for the JavaScript core HTML properties, methods, and events that also apply to this element.)
Property NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
form    x      x
  Read/write
  This property holds a reference to the form object the control is embedded in.
htmlFor    x   x x x x
  Read/write
  This property sets or gets the object to which the label object is assigned.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint