web基础,用html元素制作web页面
用div,form制作登录页面,尽可能做得漂亮。
练习使用下拉列表选择框,无序列表,有序列表,定义列表。
观察常用网页的HTML元素,在实际的应用场景中,用已学的标签模仿制作。
<!DOCTYPE html> <html lang="en"> <head> <body bgcolor="#ffb6c1"> <meta charset="UTF-8"> <title>MIS</title> </head> <body > <h1>管理系统</h1> <hr> <div id="container" style="width:400px " > <div id="header" style="background-color:deepskyblue"><h2 align="center" style="margin-bottom:0;">登录</h2></div> <div id="content" style="background-color:lightskyblue;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:deepskyblue;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:deepskyblue"><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> </div> <div id="footer" style="background-color:deepskyblue;clear:both;text-align:center;">版权 duym</div> </div> </body>

浙公网安备 33010602011771号