Home » HTML summary tag

HTML summary tag

by Online Tutorials Library

HTML Summary Tag

The HTML <summary> tag is used with <details> tag. It is used as a summary, caption or legend for the content of a <details> element.

It is used within the <details> tag. It must have a closing tag.

The <summary> tag is new and introduced in HTML 5.


HTML summary tag example

Test it Now

Output:

tutoraspire Summary

tutoraspire is a popular tutorial website.

You can learn various tutorials on tutoraspire such as HTML, CSS, JavaScript, Java, Android.


Let’s see another example of HTML summary tag.

Test it Now

Output:

MacBook Pro Specification
  • 13.3-inch LED-backlit glossy widescreen display with edge-to-edge, uninterrupted glass (1280 x 800-pixel resolution).
  • 2.4 GHz Intel Core i5 dual-core processor with 3 MB shared L3 cache for excellent multitasking.
  • Intel HD Graphics 3000 with 384 MB of DDR3 SDRAM shared with main memory.
  • 500 GB Serial ATA hard drive (5400 RPM)
  • 4 GB installed RAM (1333 MHz DDR3; supports up to 8 GB)

The <summary> tag supports only Global attributes in HTML 5. There are no other specific attributes used with <summary> tag.


Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
<summary> Yes No No No No
Next TopicHTML sup Tag

You may also like