Skip to content

Instantly share code, notes, and snippets.

@jeremyboggs
Created August 8, 2014 16:07
Show Gist options
  • Save jeremyboggs/73372f438e18fb2deaaa to your computer and use it in GitHub Desktop.
Save jeremyboggs/73372f438e18fb2deaaa to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Intro to Forms</title>
<style type="text/css">
label {
display:block;
font-family: Arial, sans-serif;
}
input[type=text],
textarea {
border: 1px solid #999999;
margin-bottom: 20px;
width: 200px;
}
input:focus,
textarea:focus {
border: 1px solid blue;
}
textarea {
height: 300px;
}
</style>
</head>
<body>
<form method="post">
<label for="name">Name</label>
<input type="text" name="name" id="name" placeholder="Jane Doe">
<label for="email">Email</label>
<input type="text" name="email" id="email" placeholder="[email protected]">
<label for="comment">Comment</label>
<textarea name="comment" id="comment" placeholder="Your message here."></textarea>
<input type="submit" value="GO!!!">
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment