When writing in HTML, the tag is an inline element used to create a gauge with a certain range on a web page. This gauge can be divided into either scalar or fractional values. It is useful for visually displaying where a certain value lies, between some minimum and maximum. For example, showing how much space was used on a hard drive.

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

Example of code

Your main disk's storage capacity is at: 175 out of 250 GB.

Example result

Your main disk’s storage capacity is at: 175 out of 250 GB.

The tag shouldn’t be used to create a progress bar. In those cases, use the tag.

  • Example of code
  • Example result
  • Attributes
  • Compatibility
  • 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; all tags support standard attributes. The following table shows all of the current unique HTML attributes for the tag, and a description of each.

Compatibility

Browser, Compatibility, Container tag, URL, Web design terms

  • HTML and web design help and support.