Html5教程 专题
专题目录
您的位置:html > Html5教程专题 > HTML5 <ul> 标签
HTML5 <ul> 标签
作者:--    发布时间:2019-11-20

<ul> 标签定义无序列表。

html 4.01 与 html 5 之间的差异

在 html 4.01 中,ul 元素的 "compact" 和 "type" 属性是不被赞成使用的。在 html 5 中,不再支持这两个属性。

提示和注释

提示:请使用 css 来定义列表的类型。

例子

<ul>   <li>coffee</li>
   <li>tea</li>
</ul>

属性

标准属性

class, contenteditable, contextmenu, dir, draggable, id, irrelevant, 
lang, ref, registrationmark, tabindex, template, title

如需完整的描述,请访问 html 5 中标准属性

事件属性

onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu, 
ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, 
ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress, onkeyup, 
onload, onmessage, onmousedown, onmousemove, onmouseover, onmouseout, 
onmouseup, onmousewheel, onresize, onscroll, onselect, onsubmit, onunload

如需完整的描述,请访问 html 5 中事件属性

网站声明:
本站部分内容来自网络,如您发现本站内容
侵害到您的利益,请联系本站管理员处理。
联系站长
373515719@qq.com
关于本站:
编程参考手册