Blogger Information
Blog 46
fans 2
comment 0
visits 19474
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
注册页面和简单后台页面
P粉314265155
Original
480 people have browsed it

注册页面

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=
  7. , initial-scale=1.0">
  8. <title>用户注册</title>
  9. </head>
  10. <body>
  11. <h2>注册信息</h2>
  12. <form action="check.php">
  13. <div>
  14. <label for="username">姓 &nbsp;&nbsp;名:&nbsp&nbsp&nbsp</label>
  15. <input type="text" id="username" placeholder="请输入姓名">
  16. </div>
  17. <div>
  18. <label for="tel">手机号:&nbsp&nbsp&nbsp</label>
  19. <input type="text" id="tel" placeholder="请输入手机号">
  20. </div>
  21. <div>
  22. <label for="card">身份证号:</label>
  23. <input type="text" id="card" placeholder="请输入身份证号">
  24. </div>
  25. <div>
  26. <label for="email">邮箱:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</label>
  27. <input type="text" id="email" placeholder="请输入邮箱">
  28. </div>
  29. <div>
  30. <label for="male">性别:</label>
  31. <input type="radio" name="sex" id="male" value="female" checked ><label for="male"></label>
  32. <input type="radio" name="sex" id="female" value="female" ><label for="female"></label>
  33. </div>
  34. <!-- <div> -->
  35. <!-- <label for="secret"> 性别:</label> -->
  36. <!-- 单选按钮提交的数据只有一个变量一个值,所以name必须一致 -->
  37. <!-- 默认选择: checked, 布尔属性, 有它就是true, 没有就是false -->
  38. <!-- <input type="radio" id="male" name="sex" value="male" /><label for="male">男</label> -->
  39. <!-- <input type="radio" id="female" name="sex" value="female" /><label for="female">女</label> -->
  40. <!-- <input type="radio" id="secret" name="sex" value="secret" checked /><label for="secret">保密</label>
  41. </div> -->
  42. <div>
  43. <label for="">爱好:</label>
  44. <input type="checkbox" name="hobby[]" id="tv" value="tv"><label for="tv">电视</label>
  45. <input type="checkbox" name="hobby[]" id="sw" value="sw"><label for="sw">游泳</label>
  46. <input type="checkbox" name="hobby[]" id="fr" value="fr"><label for="fr">钓鱼</label>
  47. </div>
  48. <div>
  49. <label for="">学历:</label>
  50. <select name="edu" id="">
  51. <option value="0" disabled selected>--请选择--</option>
  52. <option value="1">--初中--</option>
  53. <option value="2">--高中--</option>
  54. <option value="3">--大学--</option>
  55. <option value="4">--其他--</option>
  56. </select>
  57. </div>
  58. <!-- <div>
  59. <label for="pass">密码:</label>
  60. <input type="password" name="password" id="pass" placeholder="密码不能为空">
  61. <button onclick="show">查看密码</button>
  62. </div> -->
  63. <div>
  64. <label for="pass">密码:</label>
  65. <input type="password" name="password" id="pass" placeholder="密码不能为空">
  66. <!-- 查看密码 ,动态改变 typel类型-->
  67. <button onclick="show">查看密码</button>
  68. </div>
  69. <div>
  70. <label for=""></label>
  71. <button>
  72. 提交
  73. </button>
  74. </div>
  75. </form>
  76. </body>
  77. </html>

多媒体标签

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=
  7. , initial-scale=1.0">
  8. <title>媒体标签</title>
  9. </head>
  10. <body>
  11. <video src="..\0705\test.mp4" controls width=" 300" poster="123.jpg">我是视频</video>
  12. </body>
  13. </html>

内联标签

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=
  7. , initial-scale=1.0">
  8. <title>内联标签</title>
  9. </head>
  10. <body>
  11. <a href="https://j.map.baidu.com/0c/xf" target="map">青岛</a>
  12. <br>
  13. <iframe
  14. srcdoc="<h3 style='color:red'>请点击地点名称查看地图</h3>"
  15. frameborder="2"
  16. width=" 500"
  17. height="600"
  18. name="map"
  19. >我是地图</iframe>
  20. </body>
  21. </html>

网站后台

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>网站后台</title>
  8. <style>
  9. body {
  10. height: 100vh;
  11. width: 100vw;
  12. display: grid;
  13. grid-template-columns: 10em 1fr;
  14. grid-template-rows: 6em 1fr;
  15. margin: 0;
  16. }
  17. body .header {
  18. grid-column-end: span 2;
  19. border-bottom: 1px solid currentColor;
  20. background-color: #efe;
  21. padding: 2em;
  22. display: flex;
  23. align-items: center;
  24. }
  25. body .header div {
  26. margin-left: auto;
  27. }
  28. body .nav {
  29. background-color: #efc;
  30. margin: 0;
  31. padding-top: 1em;
  32. list-style: none;
  33. }
  34. body iframe {
  35. width: calc(100vw - 10em);
  36. height: calc(100vh - 6em);
  37. border-left: 1px solid currentColor;
  38. }
  39. </style>
  40. </head>
  41. <body>
  42. <div class="header">
  43. <h3>
  44. 我是后台网站
  45. </h3>
  46. <div>
  47. <em>admin</em>
  48. <a href="quit.php">退出</a>
  49. </div>
  50. </div>
  51. <ul class="nav">
  52. <li><a href="../0705/zuoye1.html" target="content" >我是作业一</a></li>
  53. <li><a href="../0705/zuoye2.html"target="content" >我是作业二</a></li>
  54. <li><a href="../0705/zuoye3.html"target="content" >我是作业三</a></li>
  55. </ul>
  56. <iframe srcdoc="<a href='javascript:;'>请点击左侧导航菜单</a>" frameborder="2" name="content" width="300" height="300"></iframe>
  57. </body>
  58. </html>


Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!