How to use html dt tag
Release: 2019-05-27 10:31:22
Original
4549 people have browsed it
html tag definition:
##
-
- is a combination of tags, use Without dt, the outermost layer of dd must be wrapped with dl. This combination tag is also called a table tag. It is similar to the table tag, so it is also called a dl table.
is a commonly used title list tag. If there is no initial CSS style for the dl dt dd tag, the content of the dd list will be indented by default.
html
- Usage of tags:
<dl>
<dt>列表标题</dt>
<dd>列表内容</dd>
<dd>列表内容</dd>
...
</dl>
Copy after login
First of all, dt and dd are placed in the dl tag, and the tags dt and dd are at the same level under dl. That is, dt cannot be placed in dd, and dd cannot be placed in dt. Under dl, dt and dd are at the same level of labels. There can be several DD tags. At the same time, you cannot use the dt tag or dd tag alone without adding dl. In practice, we use the dl dt dd tag most often, usually with a title, and there are several simple lists under the title (the column title corresponds to the title list) and the title corresponds to the content below. The above is the detailed content of How to use html dt tag. For more information, please follow other related articles on the PHP Chinese website!
Statement of this Website
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
Latest Articles by Author
-
2020-02-27 16:50:07
-
2020-01-30 22:49:41
-
2020-01-30 22:43:08
-
2023-04-08 11:32:02
-
2023-04-08 11:24:01
-
2023-04-08 11:00:01
-
2023-04-08 10:56:02
-
2023-04-08 10:54:02
-
2023-04-08 10:36:01
-
2023-04-08 10:34:01