提交按钮

提交按钮用来将表单发送到服务器。

<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <div>TODO write content</div>
        <form action="http://www.example.com/upload.php" method="post">
            <p>发送到服务器的表单:</p>
            <input type="text" name="email" />
            <input type="submit" name="subscribe" value="Subscribe" />
        </form>
    </body>
</html>

 

posted @ 2018-07-27 10:52  梦人亭  阅读(144)  评论(0编辑  收藏  举报