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

推荐订阅源

V
Visual Studio Blog
Google DeepMind News
Google DeepMind News
V
V2EX
B
Blog RSS Feed
有赞技术团队
有赞技术团队
博客园 - Franky
美团技术团队
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
云风的 BLOG
云风的 BLOG
L
LangChain Blog
GbyAI
GbyAI
The Cloudflare Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Stack Overflow Blog
Stack Overflow Blog
博客园 - 【当耐特】
The Register - Security
The Register - Security
大猫的无限游戏
大猫的无限游戏
D
Docker
Vercel News
Vercel News
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
人人都是产品经理
人人都是产品经理
雷峰网
雷峰网
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
N
Netflix TechBlog - Medium
博客园_首页
A
About on SuperTechFans
J
Java Code Geeks
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
MongoDB | Blog
MongoDB | Blog
Recent Announcements
Recent Announcements
G
Google Developers Blog
小众软件
小众软件
博客园 - 叶小钗
WordPress大学
WordPress大学
博客园 - 聂微东
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
F
Full Disclosure
Jina AI
Jina AI
H
Help Net Security

噜啦 - 表单

表单:selet - 噜啦 表单: textarea button - 噜啦 表单相关属性 - 噜啦 表单 - 噜啦
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 标签

 •