html5-增强的表单-表单的重写

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新增的表单-表单的重写</title>
</head>
<body>
    <form action="" target="blank" id="myform">
        <input type="text" name="key"><br>
        <input type="submit" value="提交1" formaction="http://localhost/default.aspx"><br>
        <input type="submit" value="提交2" formaction="http://www.sina.com"><br>
        <input type="submit" value="提交3" formaction="http://www.baidu.com"><br>
    </form>
</body>
</html>

posted @ 2017-09-16 17:48  侯伟东  阅读(533)  评论(0编辑  收藏  举报