When writing in HTML, the

Example of

Which type of pet do you prefer?





Example result

Which type of pet do you prefer?

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 current unique HTML attributes for the

The

  • Example of
  • Example result
  • Attributes
  • Compatibility
  • Additional form elements
  • Related information

Compatibility

Additional form elements