HTML <details>
query_builder | Christopher PisaniThe HTML element <details> is a simple yet effective way of using clean HTML, with no scripts with Javascript, to have a fully working toggled widget for information.
To show that the element expands, a rotating triangle is placed on the title to show that more data is available.
A simple example of a small article to represent the 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.