<html>
<head>
<meta charset="utf-8">
<title>Formulario de prueba de HTML5</title>
</head>
<body>
<h1>Formulario de prueba de HTML5</h1>
<form action=" " method="get">
<p>
<label for="name">Nombre:</label>
<input type="text" name="name_control" id="name" autofocus=" " required=" ">
</p>
<p>
<label for="email">Email:</label>
<input type="email" name="email_control" id="email" required=" ">
</p>
<p>
<label for="website">URL:</label>
<input type="url" name="url_control" id="url" placeholder="Escribe la URL de tu página web personal">
</p>
<p>
<label for="fecha">Fecha:</label>
<input type="date" name="date" id="date">
</p>
<p>
<label for="tiempo">Tiempo:</label>
<input type="time" name="time" id="time">
</p>
<p>
<label for="fechahora">Fecha y hora:</label>
<input type="datetime" name="fechahora" id="fechahora">
</p>
<p>
<label for="mes">Mes:</label>
<input type="month" name="mes" id="mes">
</p>
<p>
<label for="semana">Semana:</label>
<input type="week" name="semana" id="semana">
</p>
<p>
<label for="numero">Número:</label>
<input type="number" name="numero" id="numero" min="-10" max="10">
</p>
<p>
<label for="telefono">Teléfono:</label>
<input type="tel" name="tlfn" id="tlfn">
</p>
<p>
<label for="search">Buscar:</label>
<input type="search" name="search" id="search">
</p>
<p>
<label for="color">Color favorito:</label>
<input type="color" name="color" id="color">
</p>
<p>
<label for="enviar">Enviar:</label>
<input type="submit" name="submit" id="submit">
</p>
</form>
</body>
</html>
No hay comentarios:
Publicar un comentario