HTML5 Details Tag Tutorial

HTML5 Details Tag

The HTML details element (<details>) is used to show the detail of information on demand. By default, that detail is hidden. It is used with summary tags, which contains the detail.

General Syntax

Try it now

Source Code

Try it now

Source Code : Output


It is one of the world most popular learning platform.