In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about the difference between ol and ul in html. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
The difference between ol and ul: 1. Ol is an ordered list; ul is an unordered list. 2. The type attribute values of ol and ul are different. The type attribute values of ul are "disc", "circle", "square" and so on, while the type attribute values of ol are "1", "a", "A", "I", "I" and so on.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
Ul is an unordered list, the so-called unordered list, as long as an example, we will understand.
●, this is the first list.
●, this is the second list.
●, this is the third list.
●, this is the fourth list.
Ol is an ordered list, as an example.
1. This is the first list
2. This is the second list
3. This is the third list
This is the fourth list
This is the difference between ul and ol.
The symbols before ul and ol can be modified. You just need to change their type values.
The type attributes of ul are: disc- solid circle (default), circle- hollow circle, square- solid square
The type properties of ol are: 1-number (default), a-lowercase letter, A-uppercase letter, I-lowercase Greek letter, I-uppercase Greek letter.
Through CSS, you can also change the symbols in front of them to pictures, so that the list display will be more beautiful.
Thank you for reading! This is the end of the article on "what is the difference between ol and ul in html". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.