HTML - Summary Tag


Advertisements


Description

The HTML <summary> tag specifies a summary, caption or legend for a given details.

Example

Live Demo
<!DOCTYPE html>
<html>

   <head>
      <title>HTML Summary Tag</title>
   </head>

   <body>
      <details>
         <summary>Some details</summary>
         <p>Provide more info about the details here.</p>
      </details>
   </body>

</html>

This will produce the following result −

Global Attributes

This tag supports all the global attributes described in − HTML Attribute Reference

Event Attributes

This tag supports all the event attributes described in − HTML Events Reference

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Not Supported Not Supported Not Supported Not Supported Yes

html_tags_reference.htm

Advertisements
E-Books Store