Skip to content

Instantly share code, notes, and snippets.

@jensgro
Created April 28, 2010 13:25
Show Gist options
  • Save jensgro/382130 to your computer and use it in GitHub Desktop.
Save jensgro/382130 to your computer and use it in GitHub Desktop.
HTML5-Formularelemente
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 Form Elements</title>
<style>
body { padding:1em; }
</style>
</head>
<body>
<p>
Search:
<input type="search">
</p>
<p>
URL:
<input type="url">
</p>
<p>
Telephone:
<input type="tel">
</p>
<p>
Number:
<input type="number">
</p>
<p>
Range:
<input type="range">
</p>
<p>
Color:
<input type="color">
</p>
<p>
Datetime Local:
<input type="datetime-local">
</p>
<p>
Datetime:
<input type="datetime">
</p>
<p>
Date:
<input type="date">
</p>
<p>
Month:
<input type="month">
</p>
<p>
Week:
<input type="week">
</p>
<p>
Time:
<input type="time">
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment