标签:相关 color hit 应用 教材 web web基础 har ima
用div,form制作登录页面,尽可能做得漂亮。
练习使用下拉列表选择框,无序列表,有序列表,定义列表。
观察常用网页的HTML元素,在实际的应用场景中,用已学的标签模仿制作。
<!DOCTYPE html> <html lang="en"> <head> <body bgcolor="#f0f8ff"> <meta charset="UTF-8"> <title>欢迎登陆正版官方系统</title> </head> <body > <h1>用户登录</h1> <hr> <div id="container" style="width:400px " > <div id="header" style="background-color: antiquewhite"><h2 align="center" style="margin-bottom:0;">登录</h2></div> <div id="content" style="background-color:khaki;height:150px;width:400px;float:left;"> <form> 用户名:<input type="text" name="用户名" placeholder="请输入用户名"><br> 密码:<input type="text" name="密码" placeholder="密码为身份证后八位"><br> <input type="radio">学生 <input type="radio">教师 <input type="radio">访客<br> <input type="button" value="登录"> <input type="button" value="重置"> </form> </div> <div id="footer" style="background-color:khaki;clear:both;text-align:center;">版权@duym</div> </div> <div id="container" style="width:400px " > <div id="header" style="background-color:darkkhaki"><h2 align="center" style="margin-bottom:0;">相关章节</h2> </div> <div id="content" style="background-color:lightsalmon;height:150px;width:400px;float:left;"> <form> <select> <option>问答</option> <option>收藏</option> </select> </form> <ul> <li>日常监控</li> <li>课表管理</li> <li>学籍管理</li> <li>教材管理</li> <li>教学简报</li> </ul> </div> <div id="footer" style="background-color:wheat;clear:both;text-align:center;">版权@duym</div> </div> <div id="container" style="width:400px " > <div id="header" style="background-color:gainsboro"><h2 align="center" style="margin-bottom:0;">快速通道</h2> </div> <div id="content" style="background-color:lightskyblue;height:150px;width:400px;float:left;"> <ol> <li>校历</li> <li>专业课表</li> <li>教务系统</li> </ol> </div> <div id="footer" style="background-color:deepskyblue;clear:both;text-align:center;">版权@duym</div> </div> </body>
标签:相关 color hit 应用 教材 web web基础 har ima
原文地址:http://www.cnblogs.com/892356821qqcom/p/7661061.html