HTML < summary>
query_builder | Christopher PisaniThe HTML element <summary> forms part of the element <details>, which is used for a simple drop down, to expand a group of text within the <details> tags, without relying on any Javascript code.
Text written between the <summary> tags, will show a rotating triangle to the left side and when clicked will expand the group of text.
A simple example of the <summary> element
<details>
<summary>
BOB Revolution CE Stroller – everything you need to know about this jogging stroller
</summary>
I enjoy jogging immensely and it was rather difficult for me to resign from this activity after the birth of my first child. Fortunately, due to the modern market of strollers, I was able to return to my favourite physical activity in a very short time. Of course, this was possible due to an appropriate jogging stroller.
</details>
Available Attributes
No specific attributes are assigned for this element, other than the standard global attributes.