web基础,用html元素制作web页面
2021-05-23 17:29
                         标签:用户   value   用户名   each   输入密码   sel   type   用户登录   role    结果如下图所示:   web基础,用html元素制作web页面 标签:用户   value   用户名   each   输入密码   sel   type   用户登录   role    原文地址:http://www.cnblogs.com/yuanyinglin/p/7683870.htmlDOCTYPE html>
html lang="en">
head>
    meta charset="UTF-8">
    title>Titletitle>
head>
body>
h1 align="center">用户登录h1>
div id="centainer">
    div id="header" p style="background-color:rgb(192,192,192)"> h3 align="center">login inh3>div>
    div id="centent" align="center">
          form action="" p style="background-color:rgb(0,255,0)">
              Username: input type="text" placeholder="请输入用户名">
              br>
              Password: input type="password" placeholder="请输入密码">
              br>
              input type="radio" name="role" value="student">student
              input type="radio" name="role" value="teacher">teacher
              br>
              input type="checkbox" value="true">span>记住我span>a href="登录遇到问题">登录遇到问题a>br>
               p align="center"> input type="button" value="login" onclick="登录验证">
          form>
     div>
    div id="footer" p style="background-color:rgb(255,255,0)">h5 align="center">版权@h5>div>
    p align="center">
    select>
        option>收藏option>
        option>点赞option>
        option>评论option>
    select>p>
div>
body>
style>
    h1{
    color:red;
    }
style>
html>

文章标题:web基础,用html元素制作web页面
文章链接:http://soscw.com/index.php/essay/88311.html