Details tag for html CLICK READ MORE

 



<details>

  <summary>Epcot Center</summary>
  <p>Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.</p>
</details>

Definition and Usage

The <details> tag specifies additional details that the user can open and close on demand.

The <details> tag is often used to create an interactive widget that the user can open and close. By default, the widget is closed. When open, it expands, and displays the content within.

Any sort of content can be put inside the <details> tag. 

Tip: The <summary> tag is used in conjuction with <details> to specify a visible heading for the details.


To test it copy the code and click below button and paste there


Post a Comment

0 Comments