When writing in HTML, the tag is used to designate a caption for the

element. The following sections contain information about this tag, including an example of it in use, and related attributes and browser compatibility.

Example of code

Personal Information: Name:
Address:
Email:
Phone:

Example result

Deprecated attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows all of the deprecated unique HTML attributes for the tag, and a description of each. While these attributes may work with the some versions of HTML, they will eventually be phased out. You should use CSS to adjust the dimensions of this element.

The tag belongs to a group of tags called form elements.

  • Example of code
  • Example result
  • Deprecated attributes
  • Compatibility
  • Additional form elements
  • Related information

Compatibility

Additional form elements