In HTML lists, what are the differences between dl(dt,dd), ul(li), and ol(li)?

php中世界最好的语言
Release: 2018-01-26 09:55:22
Original
3427 people have browsed it

This time I will bring you the difference betweendl(dt,dd), ul(li), and ol(li) in the HTML list. In the HTML list, use dl( What are theprecautionsfor dt, dd), ul(li), ol(li)? The following is a practical case, let’s take a look.

HTML

tag

#Definition and usage

tag defines the definition list (definition list) .
tag is used to combine
(defines the item in the list) and
(describes the item in the list).

#Example

The code is as follows:

计算机
用来计算的仪器 ... ...
显示器
以视觉方式显示信息的装置 ... ...
Copy after login

HTML

Related labels:
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!