HTML元素 - dir

定义

表示目录列表。

Denotes a directory list.

注释

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

此元素是块元素。

此元素需要关闭标签。

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

This element is a block element.

This element requires a closing tag.

示例代码

This example uses the DIR element to create a directory list.

<DIR>
<LI>Art艺术
<LI>History历史
<LI>Literature文学
<LI>Sports体育
<LI>Entertainment娱乐
<LI>Science科学
</DIR>

 

标准信息

该对象已不建议使用,将可能在今后HTML标准中废弃。

This object is deprecated in HTML.

http://www.w3.org/TR/html401/index/elements.html

www.admin5.com/html

站长网 站长学院网页教程与代码

www.admin5.net

免费收录站长网站

www.admin5.com

站长网信息中心

www.admin5.com/idc

站长网 idc频道