用div,form制作登录页面,尽可能做得漂亮。
练习使用下拉列表选择框,无序列表,有序列表,定义列表。
观察常用网页的HTML元素,在实际的应用场景中,用已学的标签模仿制作。
<!DOCTYPE html><html lang="en"><head> ???<meta charset="UTF-8"> ???<title>MIS15</title></head><body><h1>MIS问答平台</h1><h6>head</h6><h4>2015</h4><P></P><div ?id="container" style="width:400px " > ???<div id="header" style="background-color:#97ceff;"><h2 align="center" style="margin-bottom:0;">登录</h2></div> ???<form> ???????<input type="text" name="usertname"placeholder="请输入用户名"><br> ???????<input type="password" name="password"placeholder="请输入六位数密码"><br> ???????<input type="radio" name="role" value="stu">student ????????<input type="radio" name="role" value="stu">teather<br> ???????<input type="button" value="确定"> ???</form> ???<div id="footer" style="background-color:#ffa7d7;clear:both;text-align:center;">版权 ? yan</div><form> ???<select> ???????<option>问答</option> ???????<option>收藏</option> ???</select></form> ???<ol> ???????<li>python</li> ???????<li>html</li> ???</ol></div><hr><p>友情链接</p><a href="http://www.gzcc.cn/"> ???<img src="http://www.gzcc.cn/2016/images/banner.png" width="400" height="50" alt="gzcc.cn" ?/> ???<br>广州商学院</a></body></html>
web基础,用html元素制作web页面
原文地址:http://www.cnblogs.com/xy223/p/7660395.html