##html dl is the tag used to define the list, and the
tag is used to combine the
- and
- 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>
##
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!