<details> Tag in HTML 5
In this article I am going to explain about details tag in HTML 5.
Definition
<details> tag in HTML 5 specifies additional details for any topic or content. User can view or hide the detail of topic or content according to his demand.
Browser Support by <details> tag
The <details> tag is only supported in Google chrome browser.
Lets take an example of <details> tag
<html>
<body>
<details>
<summary>C Language</summary>
<p> C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system..</p>
</details>
</body>
</html>
|
Output
You may also read more about HTML 5 here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here