元数据是指关于数据的信息。 HTML 中的 标签提供有关 HTML 文档的信息,或者简单地说,它提供有关文档的重要信息。这些标签主要用于添加名称/值对来描述 HTML 文档的属性,例如到期日期、作者姓名、关键字列表、文档作者等。
在本文中,我们将看到如何使用 HTML 标签设置 HTML 文档的元数据。
句法:
例子:
HTML
How to define metadata about
an HTML document in HTML5?
GeeksforGeeks
How to define metadata about
an HTML document in HTML5?
Prepare for the Recruitment drive
of product based companies like
Microsoft, Amazon, Adobe etc with
a free online placement preparation
course. The course focuses on various
MCQ's & Coding question likely
to be asked in the interviews &
make your upcoming placement season
efficient and successful.
输出: