This wiki has been archived and is now read-only.


From HTML Wiki
Jump to: navigation, search


The <summary> element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any.

HTML Attributes

See global attributes.


Example A

[try it]:

  <summary><label for=fn>Name & Extension:</label></summary>
  <p><input type=text id=fn name=fn value="Pillar Magazine.pdf">
  <p><label><input type=checkbox name=ext checked> Hide extension</label>

HTML Reference

The HTML5 specification defines the <summary> element in 4.12.2 The summary element.