Home  >  Article  >  Web Front-end  >  Detailed explanation of list elements ul ol li dl dt dd that must be understood in div css layout_Experience exchange

Detailed explanation of list elements ul ol li dl dt dd that must be understood in div css layout_Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:06:161819browse

Use the block-level element div as little as possible. In fact, like table, the less nested the better, it will also affect the speed!

ol ordered list.


  1. ……

  2. ……

  3. ……

behaves as:
1......
2......
3......
ul Unordered list, behaves like li is preceded by a big dot instead of 123

  • ……

  • ……



Many people tend to ignore the usage of dl dt dd
dl content block
dt Title of content block
dd Content

Write like this:

Title

Content1 dd>
Content 2


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