zoukankan      html  css  js  c++  java
  • 第二个web网页

    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="addresss">
        <label for="address">Address</label></p>
      </fieldset>

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


    </form>

    </body>
    </html>

    2.功能

    一个简单的用户注册界面

    3.感想

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

  • 相关阅读:
    jQuery代码优化的9种方法
    关于javascript代码优化的8点建议
    javascript编码标准
    前端学算法之算法复杂度
    前端学算法之算法模式
    前端学算法之搜索算法
    前端学算法之排序算法
    前端学数据结构之图
    前端学数据结构之树
    前端学数据结构之字典和散列表
  • 原文地址:https://www.cnblogs.com/zl1234/p/9650580.html
Copyright © 2011-2022 走看看