100——第38例

<!DOCTYPE html>
<html lang="en">
<head>
    <title>title</title>
</head>
<body>
    <form action="mailto:531238678@qq.com" method="POST">
        姓名:<br>
        <input type="text" name="name" value="yourname" >
        <br>
        电邮:<br>
        <input type="text" name="mail" value="yourmail">
        <br>
        内容:<br>
        <input type="text" name="comment" value="yourcomment" >
        <br>
        <input type="submit" value="发送">
        <input type="reset" value="重置">
    </form>
    <p>method(方法,办法,措施)</p>
    <p>action(行动,行为过程,行为)</p>
    <p>这样就可以实现将表格数据发送给想要发给的人</p>
</body>
</html>
原文地址:https://www.cnblogs.com/sddr/p/10792087.html