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

推荐订阅源

L
LangChain Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
雷峰网
雷峰网
量子位
V
V2EX
S
SegmentFault 最新的问题
月光博客
月光博客
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
博客园_首页
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
美团技术团队
Y
Y Combinator Blog
The Cloudflare Blog
C
Check Point Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
腾讯CDC
B
Blog
Stack Overflow Blog
Stack Overflow Blog
P
Proofpoint News Feed

噜啦 - 表单

表单:selet - 噜啦 表单:selet - 噜啦 表单: textarea button - 噜啦 表单: textarea button - 噜啦 input 标签 - 噜啦 input 标签 - 噜啦 表单相关属性 - 噜啦 表单 - 噜啦 表单 - 噜啦
表单相关属性 - 噜啦
博主: 噜啦 · 2019-07-10 · via 噜啦 - 表单

 DEMO

1b549955684d39ff37ef7795efc19ac6.png

CODE

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <!-- form相关属性
             action 表单提交的地址
             method 表单发送数据的方式 默认使用get方式
                get 把数据放在浏览器地址栏发送给后台 可以在浏览器地址栏看到发送内容
                post 隐式提交数据,不可见
                
            name:通用的属性 可以加在任何标签上
            
            什么时候用post?什么时候用get
                涉及到数据库修改的用post,查询用get
         -->
        <form action="#" method="post">
            
            用户名:<input type="text" name="username"/> </br>
            密码:<input type="password" name="pwd"/></br>
            <input type="submit" value="登录" />
            
        </form>
    </body>
</html>

赞赏作者

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