练习签到,请老师检查下代码
来源:5-9 编程练习
慕婉清2005302
2020-09-01 22:01:38
<!doctype html> <html> <head> <meta charset="UTF-8" /> <title></title> </head> <body> <!--此处填写代码--> <form> <table bgcolor="#f2f2f2" width="700"> <caption><h1>注册信息</h1></caption> <tr> <td>用户名:</td> <td aling="center"><input type="text" name="usename" placeholder="请输入用户名"/></td> </tr> <tr> <td>密码:</td> <td aling="center"><input type="password" name="password" placeholder="请输入密码"/></td> </tr> <tr> <td>确认密码:</td> <td aling="center"><input type="password" name="password" placeholder="请确认密码"/></td> </tr> <tr> <td>上传图片:</td> <td><input type="file" value="浏览..."></td> </tr> </table> </form> </body> </html>
1回答
同学的代码整体完成的不错,但是还有一点小建议,建议给<table>标签设置align属性,使其居中显示。
祝:学习愉快~
相似问题