Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (22 sloc) 717 Bytes
<!DOCTYPE html>
<html lang="ja" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>BMI計算を計算(入力)</title>
</head>
<body>
<h1>BMIを計算(入力)</h1>
<h2>GETメソッドの場合</h2>
<form action="/lect03/bmi_output" method="get">
身長 <input type="text" name="height"> cm<br/>
体重 <input type="text" name="weight"> kg<br/>
<input type="submit">
</form>
<h2>POSTメソッドの場合</h2>
<form action="/lect03/bmi_output" method="post">
身長 <input type="text" name="height"> cm<br/>
体重 <input type="text" name="weight"> kg<br/>
<input type="submit">
</form>
</body>
</html>
You can’t perform that action at this time.