<meta http-equiv="refresh" content="60">
该网页每60秒刷新一次
<p></p>是段落级标签
<p align=”Center”>居中对齐。
<br>换行标签,上下俩行任然为一个段落。
<pre></pre>预排版标记,编辑得内容和页面显示的格式一模一样。
<sup></sup>标签内部文字比前方的文字高一些,并以更小的字体显示。
<sub></sub>内部的文字比前方的文字低一些。并以更小的文字显示。
Line-height:150%(行间得距离)一个DIV占一行
Padding:0.5em (就是内补白是0.5倍得当前字高)
表格和表单的应用
<table border=“边框像素”></table>表格区域。 <tr></tr>行代码 <td></td>添加单元格 <table border=0(为0时边框消失) width=”” height=”” bordercolor=”边框颜色” bgcolor=”背景颜色” cellpadding=’文字与单元格边框的距离’ Cellspacing=’单元格之间的距离,一般设为1’> <caption valign=’bottom’ align=’center’>表格标题</caption> <th>表头</th> <th>居中加粗</th> <tr> <td rowspan=”2”(行的合并)></td> <td align=’center’ valign=’bottom’></td> </tr> <tr> <td colspan=”2”(列的合并)></td> </tr> </table>
单元格内文字的位置
左中右用align属性来表示,分别为left center right
上中下用valign属性表示,为top middle bottom