<summary> Tag in HTML 5

In this article I am going to explain about <summary> tag in Html 5.
  • 1763

Definition

The  <summary>  tag use for defined visible heading for detail element. The summary tag may be use for view and hide detail element by the clicking.

Browser that supports <summary> tag

 Google chrome

Lets take an example of <summary> tag

<html>
  </head>
     <details>
        <summary>Welcome</summary>
        <p>Welcome to my website</p>
         <p>This is the home page</p>
        </details>
    </head>
</html>

Output

summary.jpg

Further Readings

You may read more about HTML 5 Tags:  here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2019 DotNetHeaven. All rights reserved.