HTML标签学习


1.<abbr title="JiangJun">J(abbreviation)</abbr><br/> 简写
2.<a href="www.baidu.com">www.baidu.com(超链接)</a><br/> 超链接
3.<address>地址</address><br/>
4.<b></b>粗体
5.<bdo dir="rtl">I love You</bdo><br/>局部控制字体文字方向
6.<big>我爱你</big><br/>放大
7<blockquote>引用块</blockquote>
8.<center><center/>居中
9.<cite>引用</cite><br/>
10.<code>引用代码</code><br/>
11.<dl>
<dt>中国(字典标题)</dt>
<dd>上海(字典数据)</dd>
<dd>北京</dd>
</dl>字典
12.<dl>删除</dl><br/>
13.<dfn>定义</dfn><br/>
14.<div>区块</div>
15.<from>表单</from>
16.<hr></hr>横线
17.<i>i斜体</i><br/>
18.<img src="http://www.baidu.com/img/baidu_jgylogo3.gif" alt="图片">图片<br/>
19.<ins>ins 插入(insert)</ins>
20. <kbd>kbd 键盘文字(keyboard)</kbd>
21. <noscript>noscript 没有脚步(noscript)
</noscript>
22.ol 有序列表(order list)
<ol>
<li>li 列表项(list item)</li>
<li>li 列表项(list item)</li>
</ol>
23. <p>p 段落(paragraph)
</p>
24.<pre>pre 按预定格式显示的文本(Preformatted)</pre>
25.<q>q 引用(quote)</q>
26.<samp>samp 例子(sample)</samp>
27. <script type="text/javascript"></script>
select 选择列表(select)
<select>
<option value="value">option 选择项(option)</option>
</select>
28.<small>small 缩小(small)</small>
29.<span>span 文本段(span)</span>
30.<strong>strong 重点强调(strong emphasized)</strong>
31.<sub>sub 下标(subscript)</sub>
<sup>sup 上标(superscript)</sup>
32. table 表格(table)
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>td 表格数据(table data)
</td>
<td>td 表格数据(table data)
</td>
</tr>
<tr>
<td>td 表格数据(table data)
</td>
<td>td 表格数据(table data)
</td>
</tr>
</table>
33. <textarea>textarea 多行文本输入区(textarea)</textarea>
34.<tt>tt 电传打字机(teletype)(等宽字体)</tt>
ul 无序列表(unordered list)
35. <ul>
<li>li 列表项(list item)</li>
<li>li 列表项(list item)</li>
</ul>
36.<var>var 可变文本(variable)</var>

HTML标签

英文全称

中文释义

a

Anchor

abbr

Abbreviation

缩写词

acronym

Acronym

取首字母的缩写词

address    

Address

地址

dfn           

Defines a Definition Term

定义定义条目

kbd          

Keyboard

键盘(文本)

samp      

Sample

示例(文本

var            

Variable

变量(文本)

tt               

Teletype

打印机(文本)

code

Code

源代码(文本)

pre

Preformatted

预定义格式(文本 )

blockquote    

Block Quotation

区块引用语

cite          

Citation

引用

q

Quotation

引用语

strong

Strong

加重(文本)

em          

Emphasized

加重(文本)

b

Bold

粗体(文本)

i

Italic

斜体(文本)

big          

Big

变大(文本)

small      

Small

变小(文本)

sup          

Superscripted

上标(文本)

sub          

Subscripted

下标(文本)

bdo          

Direction of Text Display

文本显示方向

br            

Break

换行

center    

Centered

居中(文本)

font          

Font

字体

             

Underlined

下划线(文本)

s/ strike      

Strikethrough

删除线

div              

Division

分隔

span          

Span

范围

ol                

Ordered List

排序列表

ul               

Unordered List

不排序列表

li

List Item

列表项目

dl                

Definition List

定义列表

dt                 

Definition Term

定义术语

dd             

Definition Description

定义描述

del               

Deleted

删除(的文本)

ins               

Inserted

插入(的文本)

h1~h6

Header 1 to Header 6

标题1到标题6

p

Paragraph

段落

hr                

Horizontal Rule

水平尺

href

hypertext reference

超文本引用

alt

alter

替用(一般是图片显示不出的提示)

src

Source

源文件链接

cell

cell

cellpadding

cellpadding

巢补白

cellspacing

cellspacing

巢空间

nl

navigation lists

导航列表

tr

table row

表格中的一行

th

table header cell

表格中的表头

td

table data cell

表格中的一个单元格

iframe

Inline frame

定义内联框架

optgroup

Option group

定义选项组

猜你喜欢

转载自blog.csdn.net/JangJun521/article/details/50449287
今日推荐