Created
March 29, 2018 13:13
-
-
Save DavidPeralvarez/faff2ca198a7c702ff37d1f5f806beca to your computer and use it in GitHub Desktop.
Nuevos tipos de input en HTML5
This file contains 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> | |
<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