Home > Article > Web Front-end > 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). Recommended study: "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.
HTML Tutorial"
Below we will introduce the dl tag to you through specific code examples.<!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:
##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!