• 第二个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.感想

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

  • 相关阅读:
    35-高级特性之iterable与iterator
    33-高级特性之generator(1)
    34-高级特性之generator(2)
    32-高级特性之类装饰器
    什么是Autolayout
    屏幕适配
    NSTimer
    分页
    UIScrollView的缩放原理
    设置图片圆角
  • 原文地址:https://www.cnblogs.com/zl1234/p/9650580.html
Copyright © 2020-2023  润新知