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.感想

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

  • 相关阅读:
    openGL线s的绘制
    openGL绘制正方形
    openGL的使用步骤
    [归并排序][逆序数]Brainman
    [动态规划]Tak and Cards
    [STL][stack]简单计算器
    [题解]2018湘潭邀请赛
    [数论][组合数学]Iroha and a Grid
    [STL][stack]括号配对问题
    [简单思维题]Sequence(山东省第九届ACM大学生程序设计竞赛E题)
  • 原文地址:https://www.cnblogs.com/zl1234/p/9650580.html
Copyright © 2011-2022 走看看