What to do when HTML documents need to be described?

(*-*)浩
Release: 2019-11-30 11:15:23
Original
3166 people have browsed it

HTML

Tag

What to do when HTML documents need to be described?

Definition and Usage

Tag Used to describe details of a document or part of a document. (Recommended learning: html tutorial)

Browser support

Currently only Chrome supports the

tag.

Differences between HTML 4.01 and HTML 5

The

tag is a new tag in HTML 5.

Tip

Tip:Use with the

tag to define a title for details. The title is visible, and when the user clicks on the title, the details are displayed.

Example

Details about the document:

<!DOCTYPE HTML>
<html>
<body>

<details>
<summary>Copyright 2011.</summary>
<p>All pages and graphics on this web site are the property of W3School.</p>
</details>

</body>
</html>
Copy after login

Rendering:

What to do when HTML documents need to be described?

The above is the detailed content of What to do when HTML documents need to be described?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Previous article:What is the use of HTML tag? Next article:How to use HTML