When writing in HTML, thetag 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 thetag, including an example of it in use, and related attributes and browser compatibility.
Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While thetag does not have any unique attributes, it does utilize all of the standard attributes.