记HTML常用的一些
注释:
<!--这是一段注释。-->
居中:
align="center"
预文本格式:
<pre>
</pre>
超链接:
<a href="http://www.googel.com/" style="text-decoration:none" target="_blank">
表格:两行三列
<table border="1">
<tr>
<td>100</td>
<td>200</td>
<td>300</td>
</tr>
<tr>
<td>400</td>
<td>500</td>
<td>600</td>
</tr>
</table>没有边框:border="0"
文本域:
<input type="text" name="xxx" value="xxx">
文本域:
<textarea rows="10" cols="30">
密码域:
<input type="password" name="xxx">
复选框:
<input type="checkbox" name="xxx">
单选按钮:
<input type="radio" name="xxx">
下拉框:四种选定其一
<select name="cars">
<option value="volvo">Volvo</option>
<option value="saab" selected="selected">Saab</option>
<option value="fiat">Fiat</option>
<option value="audi">Audi</option>
</select>
按钮:
<input type="button" value="xxx">