English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The HTML <summary> element is used as a summary, title, or legend for the content of a <details> element.
Use the <summary> element:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Basic Tutorial(oldtoolbag.com)</title> </head> <body> <details> <summary>Copyright 1999-2019./summary> <p> - by Refsnes Data. All Rights Reserved./p> <p>All content and graphics on this website are the property of the company Refsnes Data./p> </details> <p><b>Attention:</b>Currently only Chrome and Safari 6 Supports summary tag.</p> </body> </html>Test to see ‹/›
IEFirefoxOperaChromeSafari
Currently, only Chrome and Safari 6 Supports <summary> tag.
The <summary> tag defines <details> Element defines a visible title. When the user clicks on the title, detailed information will be displayed.
The <summary> tag is an HTML5 in the new tags.
Note:The <summary> element should be the first child of the <details> element.
Support for <summary> tag Global Attributes of HTML.
Support for <summary> tag HTML Event Attributes.