Skip to content

Instantly share code, notes, and snippets.

@DavidPeralvarez
Created March 29, 2018 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidPeralvarez/faff2ca198a7c702ff37d1f5f806beca to your computer and use it in GitHub Desktop.
Save DavidPeralvarez/faff2ca198a7c702ff37d1f5f806beca to your computer and use it in GitHub Desktop.
Nuevos tipos de input en HTML5
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nuevos tipos de input en HTML5</title>
</head>
<body>
<h1>Nuevos tipos de input</h1>
<label>Campo de texto</label>
<input type="text">
<br><br>
<label>Campo de password</label>
<input type="password">
<br><br>
<label>Campo de email</label>
<input type="email">
<br><br>
<label>Campo de búsqueda</label>
<input type="search">
<br><br>
<label>Campo de url</label>
<input type="url">
<br><br>
<label>Campo de número</label>
<input type="number" min="10" max="20" step="2">
<br><br>
<label>Campo de rango</label>
<input type="range" min="0" max="100" value="80">
<br><br>
<label>Campo de fecha</label>
<input type="date" min="2015-12-01" max="2015-12-31">
<br><br>
<label>Campo de color</label>
<input type="color">
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment