When writing in HTML, the

tag is used to designate a caption for a
element. The
tag is optional, and can be either the first or last element in the
block. The following sections contain information about the
tag, including an example of it in use, and related attributes and browser compatibility.

Example of
code

Computer Hope Guy
Figure A - Computer Hope guy.

Example result

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.

  • Example of
    code
  • Example result
  • Attributes
  • Compatibility
  • Related information

Compatibility

Browser, Compatibility, Container tag, Web design terms

  • HTML and web design help and support.