HTML Lists
来源:互联网 发布:php算法书籍 编辑:程序博客网 时间:2024/05/16 02:39
HTML Lists
Unordered HTML List 无序列表
Starts with the <ul> tag. Each list item starts with the<li> tag.
<ul> <li>Coffee</li> <li>Milk</li></ul>
list-style-type : disc (实心小圆),circle (空心小圆),square (实心正方形), none
注意:HTML 5中 <ul> 标签不支持type属性值!
Ordered HTML List 有序列表
Starts with the <ol> tag. Each list item starts with the<li> tag and are marked with numbers. 数字列表每个元素由数字标记
<ol> <li>Coffee</li> <li>Milk</li></ol>通过设定<ol> 标签type属性的值,来设定列表所使用的标号样式。
type 属性可以取得值:
- 1 从1开始的阿拉伯数字
- A 大写英文字母
- a 小写英文字母
- I 大写罗马数字
- i 小写罗马数字
start 属性,取值number,Specifies thestart value of an ordered list
<ol start="50"> <li>Coffee</li> <li>Tea</li> <li>Milk</li></ol>
HTML Description Lists
A description list is a list of terms, with a description of each term. 描述列表由一系列项目条款和它们的描述组成。
The <dl> tag defines a description list.<dt> (定义描述元素 description terms/names) and <dd> (每个元素的描述 data/description)
<dl> <dt>Coffee</dt> <dd>- black hot drink</dd> <dt>Milk</dt> <dd>- white cold drink</dd></dl>
0 0
- HTML Lists
- HTML Entity lists
- HTML Structure: Using Lists
- Lists
- HTML入门教程 - 6.无序列表和有序列表(Unordered Lists&Ordered Lists)
- HTML入门教程 - 7.关于定义列表(Definition Lists)
- Mail lists
- Reading lists:
- lookaside lists
- erlang -lists
- C++ Lists
- erlang lists
- 【索引】Lists
- C++ Lists
- 【索引】Lists
- Skip Lists
- 【索引】Lists
- 【索引】Lists
- apache kafka系列之源码分析走读-kafkaApi详解
- Python中将字符串里的Unicode字节转成相应的中文的方法
- 【mybatis】使用Plugin查询分页
- 基于Python的对拍debug工具
- 分支管理---分支管理策略
- HTML Lists
- web浏览器阅读pdf文件的两种方式
- osgi
- ccflow 流程设计器登录
- cocos2dx 用字符串创建按钮之 ControlButton
- 定时轮询任务 比如用于心跳
- 连接字符串用join而不用’+’(python)
- NS_DEPRECATED_IOS 编码中处理
- Xcode中SVN不能提交.a文件的解决方法