标签:track header for tpi width span href www otto
用div,form制作登录页面,尽可能做得漂亮。
练习使用下拉列表选择框,无序列表,有序列表,定义列表。
观察常用网页的HTML元素,在实际的应用场景中,用已学的标签模仿制作。
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>广州商学院</title> </head> <body > <h1>2017学校概括</h1> <hr> <P>友情链接</P> <a href="https://www.2345.com/?k15221625">网址导航<img src="http://www.gzcc.cn/2016/images/banner.png" width=250,height=200></a> <div id="container" style="width:400px " > <div id="header" style="background-color:cyan"><h2 align="center" style="margin-bottom:0;">登录</h2></div> <div id="content" style="background-color:navajowhite;height:150px;width:400px;float:left;"> <form> username:<input type="text" name="username" placeholder="请输入用户名"><br> password:<input type="text" name="password"><br> <input type="radio">student <input type="radio">teacher <input type="radio">guest<br> <input type="button" value="登录"> <input type="button" value="重置"> </form> </div> <div id="footer" style="background-color:cyan;clear:both;text-align:center;">版权 duym</div> </div> <div id="container" style="width:400px " > <div id="header" style="background-color:deepskyblue"><h2 align="center" style="margin-bottom:0;">相关栏目/Related sections</h2> </div> <div id="content" style="background-color:lightskyblue;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:deepskyblue;clear:both;text-align:center;">版权 duym</div> </div> <div id="container" style="width:400px " > <div id="header" style="background-color:hotpink"><h2 align="center" style="margin-bottom:0;">快速通道 Fast Track</h2> </div> <div id="content" style="background-color:lightskyblue;height:150px;width:400px;float:left;"> <ol> <li>校历</li> <li>专业课表</li> <li>教务系统</li> </ol> <dl> <dt>学院</dt> <dd>会计学院</dd> <dd>信息学院</dd> </dl> </div> <div id="footer" style="background-color:hotpink;clear:both;text-align:center;">版权 duym</div> </div> </body> </html>
标签:track header for tpi width span href www otto
原文地址:http://www.cnblogs.com/lqx12/p/7660432.html