<html>
<head>
<title> 这是网页的标题 </title>
</head>
<body>
<h1><font color="red">这是网页显示的内容</font></h1>
<a href="http://www.haizhitao.ys168.com" target="_blank">这是一个链接</a>
<!--target="_blank"表示在新的页面中打开此链接-->
<table border="1" align="center" width="80%">
<tr>
<td align="center"><b>aa</b></td>
<td>bb</td>
<td>cc</td>
</tr>
<tr>
<th>dd</th>
<td>ee</td>
<td>ff</td>
</tr>
</table>
<br> <!--br代表换行-->
<form>
username: <input type="text"><br>
password: <input type="password"><br>
性别:男<input type="radio" name="gender">
女<input type="radio" name="gender"><br>
兴趣:看书<input type="checkbox">
旅游<input type="checkbox">
睡觉<input type="checkbox"><br>
学历:<select>
<option>小学</option>
<option>初中</option>
<option>高中</option>
<option>大学</option>
</select><br>
评论:<textarea>
</textarea><br>
图片:<img src="http://www.baidu.com/img/baidu_sylogo1.gif"><br>
文件上传:<input type="file"><br>
<input type="submit" value="submit"> <!-- 代表空格-->
<input type="reset" value="reset">
<input type="button" value="button" οnclick="javascript:alert('你好!再见!');">
</form>
</body>
</html>
84
最新推荐文章于 2024-09-20 14:33:11 发布