When writing in HTML, the tag was used to designate the default font-family, font-size, and color for all text within a document. The following sections contain information about this tag, including an example of it in use, and related attributes and browser compatibility.

Example code

This text is orange, 16 pixels in size, and Arial font.

The above code, rendered in a web browser:

The tag is no longer supported; CSS should be used instead.

  • Example code
  • Attributes
  • Compatibility
  • Related information

This text is orange, 16 pixels in size, and Arial font.

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. The tag is no longer supported, but at one time it used the attributes contained in the following table.

Compatibility

Browser, Compatibility, Font, Optimized, Web design terms

  • HTML and web design help and support.