GETパラメータ
get |
URLに値を表示して送信する |
post |
URLに値を表示しないで送信する |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Google Search</title>
</head>
<body>
<form method="get" action="http://www.google.co.jp/search" accept-charset="utf-8">
<input type="hidden" name="oe" value="UTF-8" />
<ul>
<li><input type="text" name="q" /></li>
<li><label>en<input type="radio" name="lr" value="" /></label>
<label>ja<input type="radio" name="lr" value="lang_ja" checked="checked" /></label></li>
<li><label><input type="checkbox" name="q" value="猫" checked="checked" />always nuko</label></li>
<li><input type="submit" value="search→" /></li>
</ul>
</form>
</body>
</html>