Explanation of list elements commonly used in CSS web page layout ul ol li dl dt dd, block-level elements div should be used as little as possible. Like table, the less nested the better
ol
Ordered list.
- ……
- ……
- ……
behaves as:
1......
2......
3......
ul
Unordered list, expressed as li preceded by Big dots instead of 123
Many people tend to ignore the usage of
dl dt dd
dl content block
dt content block title
dd
content
can be written like this:
< ;dl>
TitleContent1Content2 dt
and dd can be added with ol ul li and p
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn