Created
August 8, 2014 16:07
-
-
Save jeremyboggs/73372f438e18fb2deaaa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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