When writing in HTML, the

tag is a block element used to designate self-contained content that does not affect the main flow of the article. It is useful with items like diagrams, illustrations, images, and sections of computer code. 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.

The

tag is used to add a caption to a figure.

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

Compatibility

Browser, Code, Compatibility, Container tag, Diagram, HTML area tag, HTML article tag, Illustration, Image, Web design terms

  • HTML and web design help and support.