惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
Martin Fowler
Martin Fowler
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
U
Unit 42
B
Blog RSS Feed
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
腾讯CDC
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
博客园 - 聂微东
MyScale Blog
MyScale Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
Engineering at Meta
Engineering at Meta

噜啦 - 前端笔记本

表单:selet - 噜啦 表单:selet - 噜啦 表单: textarea button - 噜啦 表单: textarea button - 噜啦 input 其他相关属性 - 噜啦 input 其他相关属性 - 噜啦 input 标签 - 噜啦 表单相关属性 - 噜啦 表单相关属性 - 噜啦 表单 - 噜啦 表单 - 噜啦 表格 练习 —— 课程表 - 噜啦 表格 练习 —— 课程表 - 噜啦 垂直合并单元格 rowspan - 噜啦 垂直合并单元格 rowspan - 噜啦 水平合并单元格 - 噜啦 水平合并单元格 - 噜啦 表格:结构、相关属性 - 噜啦 表格:结构、相关属性 - 噜啦
input 标签 - 噜啦
博主: 噜啦 · 2019-07-10 · via 噜啦 - 前端笔记本
  • 发布时间:
  • 1954 次浏览
  • 321字数
  • 分类: 前端笔记本
  1. 首页
  2. 正文  

DEMO

a479d815cc11d8ba920eefe1faa75399.png

CODE

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <form action="" >
            <!-- inuput 输入的控件(工具) -->
            <!-- 需要掌握集中常见的属性 -->
            <!-- type:text 表示文本输入框  
                 type:password 密码框 不可见
                 type:checkbox 复选框
                 type:radio 单选框 实现单选,需要name属性,组成一个组、
                 type:hidden 隐藏当数据不想被用户看见时使用
                 type:buttom 普通按钮 点击以后不会触发提交行为 应用场景:留给JS来触发提交数据
                 type:file 文件上传控件

             
            -->
            
            文本框<input type="text" name=""  />
            密码框<input type="password" name=""  /><br>
            复选框1:<input type="checkbox" name=""  />
            复选框2:<input type="checkbox" name=""  /><br>
            单选框1:<input type="radio" name="1"  />
            单选框2:<input type="radio" name="1"  /><br>
            隐藏域:<input type="hidden" /><br>
            普通按钮:<input type="button" value="登录" /><br>
            提交按钮:<input type="submit" value="sub登录" /><br>
            file:<input type="file" />
            
        </form>
    </body>
</html>

赞赏作者

如果觉得我的文章对你有用,请随意赞赏

input 标签

 •