Home >Web Front-end >HTML Tutorial >What is html dl tag?

What is html dl tag?

藏色散人
藏色散人Original
2018-12-03 16:36:0714132browse

html dl is the tag used to define the list, and the 5c69336ffbc20d23018e48b396cdd57a tag is used to combine the 73de882deff7a050a357292d0a1fca94 and 67bc4f89d416b0b8236eaa5f43dee742 tags, that is, to combine the items in the definition list and the items in the description list.

What is html dl tag?

##5c69336ffbc20d23018e48b396cdd57a tag defines the definition list (definition list), 5c69336ffbc20d23018e48b396cdd57a tag is used in conjunction with 73de882deff7a050a357292d0a1fca94 (items in the definition list ) and 67bc4f89d416b0b8236eaa5f43dee742 (describes the item in the list).

What is html dl tag?

Recommended study: "

HTML Tutorial"

Below we will introduce the dl tag to you through specific code examples.


The code example is as follows:


<!DOCTYPE>
<html>
<meta charset="utf-8">
<head>
    <title>html dl标签使用示例</title>
</head>
<body>
<DL>
    <DT>项目1或名称1</DT>
    <DD>项目1的描述</DD>

    <DT>项目2或名称2 </DT>
    <DD>项目2的描述</DD>

    <DT>项目3或名称3</DT>
    <DD>项目3的描述</DD>
</DL>
</body>
</html>

The effect is as follows:


What is html dl tag?##7b89938e4f463ea3de8d3da8e06d3965 Definition description List, allowing a pair of tags.

3c7d5858e48edc7bb17af0ecefbb969f A list of terms or names, multiple pairs allowed.

a2fb0f9a5b601c048246abc3ff15cf89 The definition description of 3c7d5858e48edc7bb17af0ecefbb969f allows multiple pairs.

Definition list marks its elements by indentation.

This article is about the use of dl tags in HTML. I hope it will be helpful to friends in need!

The above is the detailed content of What is 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:what does url meanNext article:what does url mean