When writing in HTML, the

tag is a block element used to create an interactive widget where content may be hidden. It is useful when you would like to include extra information without taking up space. The following sections contain information about this tag, including an example of it in use, and related attributes and browser compatibility.

Example of
code

Here is some information.

Here are additional details about this information.

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; all tags support standard attributes. The following table shows all of the current unique HTML attributes for the

tag, and a description of each.

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

Here are additional details about this information.

Compatibility

Browser, Compatibility, Container tag, HTML summary tag, Interactive, Web design terms

  • HTML and web design help and support.