summary

summary
HTML summary Element
NOTE: This new element is HTML5 and will be a standardized element in 2014.

The HTML <summary> element is used with the <details> element and gives us a way to define a custom heading for the details toggle text. By default it will say "Details" if you do not use the <summary> tag to define the words. The little tic arrow and the summary text can be clicked to toggle visibility of the details.

HTML CODE EXAMPLE
<details>
  <summary>Toggle Me Now Sucka!</summary>
  <p>Here are the toggled details</p>
</details>
 
Toggle Me Now Sucka!

0 Response to "summary"

Post a Comment