Home  >  Article  >  Web Front-end  >  html

tag syntax structure and usage

html
tag syntax structure and usage

黄舟
黄舟Original
2017-06-21 15:01:122920browse

dl Tag--represents HTML custom list

dl tags appear in pairs, starting with 5c69336ffbc20d23018e48b396cdd57a and ending with cd324b2387ec29e44e8e788c60648872

The custom list starts with the 5c69336ffbc20d23018e48b396cdd57a tag, and the title of each element in the list is defined with 73de882deff7a050a357292d0a1fca94 (definition term), followed by 67bc4f89d416b0b8236eaa5f43dee742 (definition description) to describe the content of the element in the list.

Attribute:

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 7af642afb7cbf7886d194925c3e5eedb8e22c81817d224bf490a20f8d20d8ac9 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

tag syntax structure and usage. 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