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

推荐订阅源

D
Docker
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
Hugging Face - Blog
Hugging Face - Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Vercel News
Vercel News
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
罗磊的独立博客
H
Help Net Security
月光博客
月光博客
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
宝玉的分享
宝玉的分享
P
Proofpoint News Feed
GbyAI
GbyAI
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

噜啦 - 表单

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

赞赏作者

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