首页 > Web开发 > 详细

第二个web网页

时间:2018-09-15 12:42:24      阅读:159      评论:0      收藏:0      [点我收藏+]

1.源代码

<!DOCTYPE html>
  <html>
<head>
  <meta charset="UTF-8">--------------------字符编码
  <tittle>Second Web Page</tittle>------------------------网页标题
</head>
  <body>
<form>
    <h1>Second Web Page</h1>---------------------------------------------内容标题
    <label for="userName">ID: </label>--------------------------------------给用户界面加标题
    <input type="text" name="名字">
    <p><label for="userName">密码:</label>
    <input type="password" name="密码"></p>----------------------------输入“密码”类型
    <label for="phone">Phone:</label>
    <input type="tel" name="phone">
  <fieldset> ---------------------添加对话框
    <legend>Contact Information</legend> ----------------------------------对话框标题
    <p><input type="checkbox" name="feature" value="tel">
    <label for="tel">Tel</label>
    <input type="checkbox" name="feature" value="email">
    <label for="email">Email</label>
    <input type="checkbox" name="feature" value="address">
    <label for="address">Address</label></p>
  </fieldset>

  <p><input type="submit" value="Sign in"></p>--------------------------------增加键按钮


</form>

</body>
</html>

2.功能

一个简单的用户注册界面

3.感想

标签的使用很有趣,体现很直观。

第二个web网页

原文:https://www.cnblogs.com/zl1234/p/9650580.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!