asp学习网: 首页 >> html教程 >> html参考 >> HTML元素 - html

HTML元素 - html

定义
表明文档包含 HTML 元素。

Identifies the document as containing HTML elements.

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

在 Internet Explorer 6 及以后版本中,如果你使用 !DOCTYPE 声明指定为标准兼容模式,此元素将代表画布-既文档内容所能显示的整个区域。当你切换到标准兼容模式时,此元素也将作为所有没有设置定位基准的定位对象的定位容器。如果 !DOCTYPE 声明并不指定标准兼容模式,且使用较早版本的 Internet Explorer,则 body 对象代表文档内容所能显示的整个区域。

此元素不改变显示。

此元素需要关闭标签。

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

With Internet Explorer 6 and later, when you use the !DOCTYPE declaration to specify standards-compliant mode, this element represents the canvas—the entire surface onto which a document's contents can be rendered. When you switch on standards-compliant mode, this element also becomes the positioning container for positioned elements that don't have a positioned parent. When the !DOCTYPE declaration does not specify standards-compliant mode, and with earler versions of Internet Explorer, the body object represents the entire surface onto which a document's contents can be rendered.

This element is not rendered.

This element requires a closing tag.

元素示例代码
<html>
<body>
这是一个非常简单的HTML文件。

www.aspxuexi.com
</body>
</html>

from:asp学习网/title:HTML元素 - html/ time:2006-11-21 23:01:27

本文主题HTML元素 - html

asp教程 ©2006-2007 aspxuexi.com | 关于站点 | 版权隐私 | 站内搜索
复制或者翻版 请于夜间进行