web基础,用html元素制作web页面

web基础,用html元素制作web页面

用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>

 

posted @ 2017-10-13 14:35 林丹宜 阅读( ...) 评论( ...) 编辑 收藏
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值