When writing in HTML, the tag is an inline element used to designate a variable. It is useful when you are writing a page that deals with programming or mathematical expressions. The following sections contain information about this tag, including an example of it in use, and related attributes and browser compatibility.

Example of code

Example of a regular sentence with a variable contained in it.

Example result

Example of a regular sentence with a variable contained in it.

This element is unique in that it is a phrase tag, which indicates that a section of text has structural meaning.

  • Example of code
  • Example result
  • Attributes
  • Compatibility
  • Additional phrase tags
  • Related information

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the tag does not have any unique attributes, it does utilize all of the standard attributes.

Compatibility

Additional phrase tags

Browser, Code, Compatibility, Container tag, Programming, Web design terms

  • HTML and web design help and support.