HTML
June 3, 2026 1 min read

Interactive element tags in HTML

HS
HEMANT SINGH
Technical Writer & Educator

Interactive elements tags

  1. <details>
  2. <summary>

Interactive tags provide tools collapse show hide content.

 

Example

 

<details>
     <summary>Computer</summary>
     A Computer is an electronic machine.
</details>

It will provide output as when the user will click on the summary text that is Computer, then the definition of the computer will show to the user.