定义
表示不排序的项目列表。
Draws lines of text as a bulleted list.
注释
TYPE 标签属性设置了所有后续的列表类型,除非设置了不同的 type 值。
UL 元素从 BODY 的 font 属性的高度中继承 line-height。例如,如果 BODY 的 font-size 属性大于 UL 元素的 font-size 属性,那么 UL 中的列表项目就会根据 BODY 的 font-size 间距排列。
此元素在 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 UL element inherits its line-height from the height of the font attribute for the BODY. For example, if the font-size attribute for the BODY is larger than the font-size attribute for the UL element, the list items in the UL are spaced according to the font-size of the BODY.
This 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.
示例代码
<ul>
<li>文学</li>
<li>绘画</li>
<li>音乐</li>
</ul>
HTML元素 - ul
原创文章如转载,请注明:转载自悠悠博客 [ http://www.ajaxstu.com/ ]
相关文章:
- HTML元素 - thead(2007-11-26 4:24:0)
- HTML元素 - span(2007-11-17 5:53:47)
- HTML元素 - s(2007-11-1 7:42:38)
- HTML元素 - sub(2007-9-18 7:30:12)
- HTML元素 - strong(2007-8-8 11:12:41)
- HTML元素 - kbd 以定宽字体显示文本(2007-7-22 1:12:48)
- HTML元素 - frameset 组织多个框架和嵌套框架集(2007-6-18 8:3:33)
- HTML元素 - table(2007-6-9 10:38:42)
- HTML元素 - iframe 内嵌漂浮框架(2007-5-1 6:26:3)
- HTML元素 - tt(2007-4-20 4:11:12)
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。
