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

推荐订阅源

博客园 - 三生石上(FineUI控件)
Blog — PlanetScale
Blog — PlanetScale
B
Blog
GbyAI
GbyAI
爱范儿
爱范儿
月光博客
月光博客
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
腾讯CDC
MyScale Blog
MyScale Blog
V
Visual Studio Blog
The Cloudflare Blog
Microsoft Security Blog
Microsoft Security Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

噜啦 - 表单

表单: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>

赞赏作者

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