HTML元素 - meta

定义

向服务器和客户端传达关于文档的隐藏信息。

Conveys hidden information about the document to the server and the client.

注释

META 元素还嵌入了某些搜索引擎用于索引和分类万维网上的文档时所用的文档信息。

此元素只能在 HEAD 元素内使用。

此元素在 Internet Explorer 3.0 的 及以上版本HTML 中可用,在 Internet Explorer 4.0 及以上版本的脚本中可用。

此元素不会显示。

此元素不需要关闭标签。

The META element also embeds document information that some search engines use to index and categorize documents on the World Wide Web.

This element can be used only within the HEAD element.

This element is available in HTML as of Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

This element is not rendered.

This element does not require a closing tag.

示例代码

<meta name="description" content="HTML中文教程">
<meta name="keywords" content="HTML教程,meta元素">
<meta name="author" content="asp之家站长">

相关教程和示例代码

HTML头部信息(Head)