HTML元素 - ol

定义

编制排序列表。

Draws lines of text as a numbered list.

注释

TYPE 标签属性设置了所有后续的列表类型,除非设置了不同的 type 值。

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

此元素是块元素。

此元素需要关闭标签。

The TYPE attribute sets the list type for all ensuing lists unless a different type value is set.

The OL 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.

示例代码

<OL>
<LI>这是列表的第一个项目。
<LI>这是列表的第二个项目。
</OL>
 
<OL START=3>
<LI>这是以编号 3 起始的项目。
</OL>
 
<OL TYPE=A>
<LI>这是项目 A。
</OL>

另见

li

相关教程和示例代码

HTML列表

 

 

www.admin5.com/html

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

www.admin5.net

免费收录站长网站

www.admin5.com

站长网信息中心

www.admin5.com/idc

站长网 idc频道