When writing in HTML, the

tag is a block element that describes a section of content that is both self-contained and independent. More specifically, anything inside the
tag could be distributed separately from the rest of the site. Examples include forum posts, blog posts and newspaper or magazine articles. The following sections contain information about this tag, including an example of it in use, and related attributes and browser compatibility.

Example code

Computer Hope

Computer Hope is a website that offers free help and support.

The above code, rendered in a web browser:

  • Example code
  • 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. While the

tag does not have any unique attributes, it does utilize all of the standard attributes.

Computer Hope

Computer Hope is a website that offers free help and support.

Compatibility

Blog, Browser, Compatibility, Container tag, Forum, Web design terms

  • HTML and web design help and support.