Home >Web Front-end >Front-end Q&A >How to use html dl tag

How to use html dl tag

藏色散人
藏色散人Original
2019-05-28 11:10:385363browse

html The dl tag is used to define a definition list and is used to combine

(items in the definition list) and
(items in the description list).

How to use html dl tag

#html How to use dl tag?

Function: Defines the definition list.

Description: Used to combine

(defines the items in the list) and
(describes the items in the list).

Note: All browsers support the

tag.

html dl tag usage example

<html>
<body>
<h2>一个定义列表:</h2>
<dl>
   <dt>计算机</dt>
   <dd>用来计算的仪器 ... ...</dd>
   <dt>显示器</dt>
   <dd>以视觉方式显示信息的装置 ... ...</dd>
</dl>
</body>
</html>

Effect output:

How to use html dl tag

The above is the detailed content of How to use html dl tag. For more information, please follow other related articles on 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
Previous article:How to use html var tagNext article:How to use html var tag