dl Tag--represents HTML custom list
dl tags appear in pairs, starting with
The custom list starts with the
Common -- General attribute
dl, is the English abbreviation of definition lists, Chinese "definition" List" means
Example
<dl> <dt>www</dt> <dd>World Wide Web的缩写.</dd> <dt>dreamdu</dt> <dd>梦之都.</dd> <dd>www的:).</dd> <dt>com</dt> <dt>com.cn</dt> <dt>cn</dt> <dd>这都是域名的后缀.</dd> </dl>
dd are all things that DIV+CSS can be used to make web pages, which are equivalent to the tree skills of a tree. Let’s learn about the overall usage of these things. I rarely use dd, dt, and dd. Knowing how to use them in combination is very beneficial to architecture!
DIV
Commonly used list elements in CSS web page layout ul ol li dl dt dd explanation, block-level element div should be used as little as possible. Like table, the less nested the better
Many people tend to ignore
The usage of dl dt dd
dl content block
dt The title of the content block
dd
Content
can be written like this:
<dl> <dt>标题</dt> <dd>内容1</dd> <dd>内容2</dd> </dl>
We usually use the < ul>< li> tag, but the dd and dt tags are also It's pretty good, especially when you publish a program, you can use it to typeset the function module list.
The above is the detailed content of html