<html>

<head>

<title>表格</title>

<meta http-equiv="content-type" content="text/html,charset=utf-8">

</head>

<body>

<table border="1" align="center">

<form Name="frm" action="login.php" method="get">

<tr>

<th>用户名</th>

<td><input type="text" value="chunqing" Name="username"></td>

</tr>

<tr>

<th>密码</th>

<td><input type="password" value="123456" Name="password">

</tr>

<tr>

<th>复选框</th>

<td>

玩游戏<input type="checkbox" Name="game">

看电影<input type="checkbox" checked Name="movie">

去旅游<input type="checkbox" Name="you">

</td>

</tr>

<tr>

 

<td colspan="5" align="center">

<input type="image" src="dl.gif">

<input type="submit" value="登陆">

<input type="reset">

<input type="button"  value="清空" onclick="document.frm.username.value=''">

</td>

</tr>

</f

orm>

</table>

</body>

</html>