本文摘自PHP中文网,作者不言,侵删。
本篇文章给大家带来的内容是关于html各个列表元素的应用(一个例子),有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。一、列表元素
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | <!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" >
< title >Title</ title >
< style type = "text/css" >
ul {
list-style: none;
}
</ style >
</ head >
< body >
< ul type = "circle" >
< li >first</ li >
< li >second</ li >
< li >third</ li >
</ ul >
< ul type = "disc" >
< li >first</ li >
< li >second</ li >
< li >third</ li >
</ ul >
< ul type = "square" >
< li >first</ li >
< li >second</ li >
< li >third</ li >
</ ul >
< ol type = "A" >
< li >first</ li >
< li >second</ li >
< li >third</ li >
</ ol >
< ol type = "a" >
< li >first</ li >
< li >second</ li >
< li >third</ li >
</ ol >
< ol type = "i" >
< li >first</ li >
< li >second</ li >
< li >third</ li >
</ ol >
< ol type = "I" start = "2" >
< li >first</ li >
< li >second</ li >
< li >third</ li >
</ ol >
< ol type = "I" >
< li >first</ li >
< li >second</ li >
< li value = "4" >third</ li >
< li >fouth</ li >
< li >friday</ li >
< li value = "8" >六</ li >
< li >七</ li >
</ ol >
< dl >
< dt >一</ dt >
< dd >hello world</ dd >
< dd >welcome to html5</ dd >
< dt >二</ dt >
< dd >kan kan xiaoguo</ dd >
</ dl >
</ body >
</ html >
|
二、效果展示
![](http://ypimg.muzhuangnet.com/Collect/csharp/20180822163740924?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0xldHNTdHVkeQ==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70)
相关推荐:
了解HTML表单之input元素的30个元素属性_html/css_WEB-ITnose
HTML列表元素
以上就是html各个列表元素的应用(一个例子)的详细内容,更多文章请关注木庄网络博客!
相关阅读 >>
html各个列表元素的应用(一个例子)
更多相关阅读请进入《html列表元素》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » html各个列表元素的应用(一个例子)