- <html>
<head>
<title>第一个form表单</title>
</head>
<body>
<table border="1" width="500" align ="center">
<caption><h1>表单的全部应用</h1></caption>
<form action="htmlget.php" enctype="multipart/form-data" target="_blank" method="get">
<tr>
<th>输入框 (<u>K</u>) </th>
<td><input type="text" accesskey="K" name="username" value="admin" size="8" maxlength="8"></td>
</tr>
<tr>
<th>密码框 (<u>P</u>) </th>
<td><input type="password" accesskey="P" name="password" size="8" maxlength="8"></td>
</tr>
<tr>
<th>文件上传</th>
<td><input type="file" name="imgname"></td>
</tr>
<tr>
<th colspan="2" align="center"><input type="submit" name="dosubmit" value="提交用户信息"></th>
</tr>
</form>
</table>
</body></html>
原文链接:https://blog.csdn.net/living_ren/article/details/72758509
本站声明:网站内容来源于网络,如有侵权,请联系我们,我们将及时处理。
还没有人抢沙发呢~