HTML5 Form Input Types and Attributes
HTML
<link rel="stylesheet" href="http://dryan.com/css3/css/html5-reset.css">
<form action="/echo/html/" method="POST">
<input type="text" name="name" placeholder="name" autofocus />
<input type="number" name="age" min="13" max="100" placeholder="age" />
<button type="submit">submit</button>
</form>
CSS
form {
margin: 1em;
}
input, button {
border: 1px solid silver;
background: white;
padding: 5px;
margin-bottom: 1em;
display: block;
}