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
Release: 2016-06-24 11:54:27
Original
1174 people have browsed it

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template