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!

Related Posts :

  • time time HTML time Element NOTE: This new element is HTML5 and will be a standardized element in 20… Read More...
  • thead thead HTML thead Element The HTML <thead> table heading group element is used to group ta… Read More...
  • tfoot tfoot HTML tfoot Element The HTML <tfoot> table footer element is used to designate the r… Read More...
  • th th HTML th Element The HTML <th> table header cell element is used to render a cell in a … Read More...
  • textarea textarea HTML textarea Element The HTML <textare> element is used in <form> buildin… Read More...

0 Response to "summary"

Post a Comment