HTML and CSS Reference
In-Depth Information
Name
summary
Synopsis
<summary> . . . </summary>
Not in HTML 4.01 . Provides a summary, caption, or legend for its parent details element.
Usage
Categories:
None
Permitted contexts:
As the first child of a details element
Permitted content:
Phrasing content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Example
See also details .
<img src="lilyphoto.jpg" alt="Lily from Missouri Botanical
Gardens">
<details>
<summary> More about this photo </summary>
<p>This photo is of a daylily taken at the ....</p>
</details>
Search WWH ::




Custom Search