码迷,mamicode.com
首页 > Web开发 > 详细

4-30 HTML 细节摘录

时间:2017-04-30 15:17:06      阅读:167      评论:0      收藏:0      [点我收藏+]

标签:alt   element   address   head   class   amp   cell   html   str   

 

 <b> 定义粗体文本。
<big> 定义大号字。
<em> 定义着重文字。
<i> 定义斜体字。
<small> 定义小号字。
<strong> 定义加重语气。
<sub> 定义下标字。
<sup> 定义上标字。
<ins> 定义插入字。
<del> 定义删除字。

 

 <code> 定义计算机代码。
<kbd> 定义键盘码。
<samp> 定义计算机代码样本。
<tt> 定义打字机代码。
<var> 定义变量。
<pre> 定义预格式文本。

 

 <abbr> 定义缩写。
<acronym> 定义首字母缩写。
<address> 定义地址。
<bdo> 定义文字方向。
<blockquote> 定义长的引用。
<q> 定义短的引用语。
<cite> 定义引用、引证。
<dfn> 定义一个定义项目。
  <img src="boat.gif" alt="Big Boat">
 <img> 定义图像。
<map> 定义图像地图。
<area> 定义图像地图中的可点击区域。
<table border="1">
<tr>
<th>Heading</th>
<th>Another Heading</th>
</tr>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>

在浏览器显示如下:

HeadingAnother Heading
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2

 

 <table> 定义表格
<caption> 定义表格标题。
<th> 定义表格的表头。
<tr> 定义表格的行。
<td> 定义表格单元。
<thead> 定义表格的页眉。
<tbody> 定义表格的主体。
<tfoot> 定义表格的页脚。
<col> 定义用于表格列的属性。
<colgroup> 定义表格列的组。

添加 iframe 的语法

<iframe src="URL"></iframe>

4-30 HTML 细节摘录

标签:alt   element   address   head   class   amp   cell   html   str   

原文地址:http://www.cnblogs.com/tongbiao/p/6789424.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!