Home >Web Front-end >HTML Tutorial >Usage of ul ol li dl dt dd in div_html/css_WEB-ITnose

Usage of ul ol li dl dt dd in div_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:54:271166browse

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.


  1. ……

  2. ……

  3. ……


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>
Title

Content1

Content2


 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