下側のボタンは、formの外にあるのでsubmitしません。
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>submit動作しないbuttonボタン</title> <link href="/gudon/css/default.css" rel="stylesheet" type="text/css" /> </head> <body> <h1>submit動作しないbuttonボタン</h1> <hr /> <p>下側のボタンは、formの外にあるのでsubmitしません。</p> <form action="/gudon/rd/ajax/html/form1_result.html"> <button>submitするbuttonボタン</button> </form> <button>submitしないbuttonボタン</button> </body> </html>