HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML details Tag

HTML details Tag



The details tag specifies additional details that the user can see on demand. It is used to create an interactive widget where users can either open it to see the content inside it or close it when does not need to see the content inside it. By default, it is closed. It is used in combination with the summary tag.


Attribute Explanation:-


Attribute Value Description
open open Specifies that details should be visible to the user.




Its syntax is:- < details >

Code Explanation

All Tutorials related to HTML Tags List

All Sections related to HTML