zoukankan      html  css  js  c++  java
  • 日期控件

    许多表单都需要收集日期,电子邮件地址和URL等信息。传统上,使用单行文本框来完成这些工作。

    <!DOCTYPE html>
    <!--
    To change this license header, choose License Headers in Project Properties.
    To change this template file, choose Tools | Templates
    and open the template in the editor.
    -->
    <html>
        <head>
            <title>TODO supply a title</title>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
        </head>
        <body>
            <div>TODO write content</div>
            <form action="http://www.example.com/bookings/" method="post">
                <label for="username">日期:</label>
                <input type="date" name="depart" />
                <input type="subemit" value="Submit" />
            </form>
        </body>
    </html>
    
  • 相关阅读:
    鼠标效果
    全选与全不选
    正则表达式
    下拉菜单
    图片轮播
    弹出层
    间隔与延时
    JS基础
    引入
    样式表 文字
  • 原文地址:https://www.cnblogs.com/q2546/p/9378416.html
Copyright © 2011-2022 走看看