<html> <head> <title>登录页面</title> </head> <body> <form action="a2.html" method="post"> 用户名:<input type="text" name="username"/><br/> 密 码:<input type="password" name="password"/><br/> 您喜欢的城市: <input type="checkbox" name="city" value="beijing">北京 <input type="checkbox" name="city" value="shanghai">上海 <input type="checkbox" name="city" value="tianjin">天津 <br/> 您的性别是: <input type ="radio" name="sex" value="man">男 <input type ="radio" name="sex" value="woman">女 <br/> 你所在的城市: <select name="like"> <option value="jilin" selected>吉林</option> <option value="shanghai">上海</option> <option value="chongqing">重庆</option> </select><br/> <textarea name="mytext" cols="40" rows="10"> </textarea><br/> <input type="file" name="myfile">上传文件<br/> <input type="submit" value="登录系统"/> <input type ="reset" value="重新填写"/> <br/> <input type="image" src="2.jpg" > </form> </body> </html>
时间: 2024-10-13 14:53:48