Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (39 sloc) 829 Bytes
<!DOCTYPE html>
<meta charset="utf-8">
<title>Get method example</title>
form {
width: 420px;
div {
margin-bottom: 20px;
label {
display: inline-block;
width: 240px;
text-align: right;
padding-right: 10px;
button, input {
float: right;
<form action="" method="get">
<label for="say">What greeting do you want to say?</label>
<input name="say" id="say" value="Hi">
<label for="to">Who do you want to say it to?</label>
<input name="to" value="Mom">
<button>Send my greetings</button>
You can’t perform that action at this time.