id和name的区别,不明白!
<html><head>
<title></title>
</head>
<body>
<form method="post" action="check.asp" name="form1">
<center>用户登陆系统</center>
<table align="center" width="400">
<tr>
<td colspan="2"><img src=""></td>
</tr>
<tr>
<td width="111">用户名:<td><td width="289"><input type="text" name="Username" id="Username"</td>
</tr>
<tr>
<td>密码:</td><td><input type="Password" id="Password"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="确定"><input type="reset" value="清除"></td>
</tr>
</table>
</form>
</body>
</html>
代码中比如说 type="text"中id和name有什么区别.