简单表单(H5元素)output	****** )

代码如下

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style>
            form{
                width: 1000px;
                max-width: 640px;
                min-width: 320px;
                margin: 0 auto;
                font-family: "微软雅黑";
                font-size: 20px;
            }
            input,meter,progress{
                display: block;
                width: 100%;
                height: 30px;
                margin: 10px 0;
            }
        </style>
    </head>
    <body>
        <form action="">
            <fieldset>
                <legend>表单元素</legend>
                <label for="">
                    用户名:<input type="text" name="username" />
                </label>
                
                <label for="">
                    密码:<input type="password" name="password" />
                </label>
                
                <label for="">
                    性别:<input type="text" name="sex" list="sex"/>
                </label>
                
                <!--定义数据列表-->
                <datalist id="sex">
                    <option>男</option>
                    <option>女</option>
                    <option>未知</option>
                </datalist>
                
                <label for="">
                    推荐人:<output>作者</output>
                </label><br /><br />
                
                <label for="">
                    加密类型:
                    <******  />
                    <select>
                        <option>1</option>
                        <option>2</option>
                    </select>
                </label><br /><br />
                
                <label for="">
                    度量器:<meter value="90" max="100" min="0" low="30" high="80"></meter>
                </label>
                
                <progress value="90" max="100" min="0"></progress>
                
                <input type="submit" value="提交"/>
            </fieldset>
        </form>
    </body>
</html>

相关文章:

  • 2021-12-03
  • 2022-12-23
  • 2022-01-26
  • 2021-08-09
  • 2021-07-19
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2021-10-05
  • 2021-07-25
  • 2021-07-06
相关资源
相似解决方案