Home  >  Article  >  Web Front-end  >  How to use dl(dt,dd), ul(li), ol(li) in HTML

How to use dl(dt,dd), ul(li), ol(li) in HTML

高洛峰
高洛峰Original
2017-02-25 14:02:272008browse

HTML 5c69336ffbc20d23018e48b396cdd57a tag

#Definition and usage

5c69336ffbc20d23018e48b396cdd57a tag defines the definition list.
5c69336ffbc20d23018e48b396cdd57a tag is used to combine 73de882deff7a050a357292d0a1fca94 (defines the item in the list) and 67bc4f89d416b0b8236eaa5f43dee742 (describes the item in the list).

#Example

<dl>
<dt>计算机</dt>
<dd>用来计算的仪器 ... ...</dd>
<dt>显示器</dt>
<dd>以视觉方式显示信息的装置 ... ...</dd>
</dl>

HTML ff6d136ddc5fdfeffaf53ff6ee95f185 tag

#Definition and usage

ff6d136ddc5fdfeffaf53ff6ee95f185 tag defines an unordered list.

#Example

Unordered HTML list:

<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

HTML c34106e0b4e09414b63b2ea253ff83d6 Tags

#Definition and usage

09471ad0eb7abf3904b81228b087d334 tag defines an ordered list.

#Example

Ordered HTML list:

<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

ul can be combined with ol to define menus and submenus

<ul>
<li><a href="#">内容过滤</a><li>
<li><a href="#">词语过滤</a></li>
<li class="s">
<div class="lsub">
<div>论坛</div>
<ol>
<li><a href="#">论坛主题管理</a></li>
<li><a href="#">论坛批量删帖</a></li>
</ol>
</div>
</li>
<ul>

More HTML dl(dt, For articles related to the usage of dd), ul(li), and ol(li), please pay attention to the PHP Chinese website!

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