Blogger Information
Blog 9
fans 0
comment 0
visits 5623
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
html简单表单制作和iframe内联页面
Original
383 people have browsed it

html简单表单制作和iframe内联页面

表单制作源码

  1. <h2>用户注册</h2>
  2. <div>
  3. <label for="usname">用户名:</label>
  4. <input type="text" id="usname" placeholder="用户名不能为空!">
  5. </div>
  6. <div>
  7. <label for="pwd">密码:</label>
  8. <input type="password" id="pwd" placeholder="密码不能为空!">
  9. </div>
  10. <div>
  11. <label for="bm">性别:</label>
  12. <input type="radio" id="nan" name="xb" value="nan"><label for="xb"></label>
  13. <input type="radio" id="nv" name="xb" value="nv"><label for="nv"></label>
  14. <input type="radio" id="bm" name="xb" value="bm"><label for="bm">保密</label>
  15. </div>
  16. <div>
  17. <label for="game">爱好:</label>
  18. <input type="checkbox" id="game" name="ah[]" value="game" checked><label for="game">游戏</label>
  19. <input type="checkbox" id="lq" name="ah[]" value="lq"><label for="lq">篮球</label>
  20. <input type="checkbox" id="zq" name="ah[]" value="zq"><label for="zq">足球</label>
  21. </div>
  22. <div>
  23. <select name="" id="">
  24. <label for="">学历:</label>
  25. <option value="0" selected disabled>--请选择学历--</option>
  26. <option value="1">幼稚园</option>
  27. <option value="2">小学</option>
  28. <option value="3">中学</option>
  29. <option value="4">高中</option>
  30. <option value="5">大学</option>
  31. </select>
  32. </div>
  33. <div>
  34. <button>提交</button>
  35. </div>

表单效果截图

iframe内联页面源码

  1. <div>
  2. <ul class="nav">
  3. <li><a href="../第三天/作业.html" target="hzh">第三天作业</a></li>
  4. <li><a href="../第四天/laoshi.html" target="hzh">第四天zhu老师代码</a></li>
  5. <li><a href="../第四天/i.html" target="hzh">第四天作业</a></li>
  6. </ul>
  7. <iframe srcdoc="请点击菜单" frameborder="1" name="hzh" width="420" height="500"></iframe>
  8. </div>

iframe内联效果截图

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