作者:e1985522z | 来源:互联网 | 2020-08-22 21:07
本篇文章就给大家带来HTML学习之html列表介绍,通过简单的代码示例来介绍。有一定的参考价值,有需要的朋友可以参考一下,希望对你们有所帮助。
一,效果图。
二,代码。
An Unordered list
- Cooffee
- Tea
- Mike
- Coffer
- --black hot drink
- mike
- --white cold drink
Numbered list:
- apples
- bananas
- lemons
- orange
letters list:
- apples
- bananas
- lemons
- orange
Lowercase letters list:
- apples
- bananas
- lemons
- orange
Roman numbers list:
- apples
- bananas
- lemons
- orange
lowercase Roman numbers list:
- apples
- bananas
- lemons
- orange
Note: The type attribute of the ul tag is deprecated in HTML 4, and is not supported in HTML5. Therefore we have used the style attribute and the CSS list-style-type property, to define different types of unordered lists below:
disc bullets list:
- Apples
- bananas
- lemons
- orange
circle bullets list:
- Apples
- bananas
- lemons
- orange
square bullets list:
- Apples
- bananas
- lemons
- orange
A list inside a list:
lists inside a list
A definition List
- coffee
- -black hot drink
- mike
- -white cold drink
参考资料:《菜鸟教程》
总结:以上就是本篇文的全部内容,希望能对大家的学习有所帮助。更多相关教程请访问 HTML视频教程,Html5视频教程,bootstrap视频教程!
以上就是HTML学习之html列表介绍(代码实例)的详细内容,更多请关注 第一PHP社区 其它相关文章!