打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
head HTML元素
userphoto

2006.11.10

关注

定义

提供了关于文档的无序信息集合。

Provides an unordered collection of information about the document.

注释

HEAD 元素提供了不影响文档显示,但对于浏览器可能非常有用的信息。此元素内可出现下列标签:

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

此元素不会影响文档显示。

此元素需要关闭标签。

The HEAD element provides information that does not affect the rendering of the document but could be of use to the browser. The following tags are valid in this 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 requires a closing tag.

示例代码

下面的例子使用了 HEAD 元素创建了文档标题。

This example uses the HEAD element to create a document title.

<HEAD>
<TITLE>A Simple Document</TITLE>
</HEAD>
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
把应用程序从 Internet Explorer 迁移到 Mozilla
常用到的 document 属性
DOM节点的选取
html5中可通过document.head获取head元素
前端教程:JavascriptArray.pop()方法
JS操作DOM元素属性和方法(转)
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服