Intro_basicos_HTML_CSS/CursoHTML/17_formularios.html

60 lines
2.3 KiB
HTML
Raw Normal View History

2020-11-18 01:21:49 -03:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Formularios</title>
</head>
<body>
<!--<form action="http://www.algo.com/ejemplo.php" method=" 'get o post' "></form>
<form action="ejemplo.php" method="post"></form>
method="get" 8192 bytes viajan de manera pública
method="post" >8192 bytes viajan de manera oculta -->
<form action="#" method="post">
Nombre &nbsp;&nbsp;:&nbsp;&nbsp;<input type="text" name="usuario" size="15" maxlength="30"><br>
Password :&nbsp; <input type="password" name="password" size="15" maxlength="10"><br>
Comentarios : <br>
<textarea name="comentarios" cols="25" rows="5"></textarea>
<hr>
Servicio de música : <br>
<input type="checkbox" name="servicio" value="itunes" checked> iTunes <br>
<input type="checkbox" name="servicio" value="lastFM"> Last.fm <br>
<input type="checkbox" name="servicio" value="spotify"> Spotify <br>
<hr>
Selecciones su sexo : <br>
<input type="radio" name="sexo" value="masculino"> Masculino <br>
<input type="radio" name="sexo" value="femenino" checked> Femenino <br>
<hr>
Seleccione el dispositivo que utiliza para escuchar música : <br>
<select name="dispositivo" id="">
<option value="">Dispositvo de favorito</option>
<option value="S4" selected>Samsung S4</option>
<option value="Notebook">Notebook</option>
<option value="equipo">Equipo de Sonido</option>
</select>
<hr>
<select name="dispositivo" size="4" multiple>
<option value="">Dispositvo de favorito</option>
<option value="S4" selected>Samsung S4</option>
<option value="Notebook">Notebook</option>
<option value="equipo">Equipo de Sonido</option>
</select>
<hr>
<label for="edad">Edad:</label>
<input type="text" name="edad">
<hr>
<fieldset>
<legend>Información de contacto</legend>
<label for="email">Email :</label>
<input type="text" name="email"><br>
<label for="celular">Celular :</label>
<input type="text" name="celular"><br>
<label for="telefono">Teléfono :</label>
<input type="text" name="telefono"><br>
</fieldset>
<input type="submit" name="inscripcion" value="Inscripcion">
</form>
</body>
<hr>
<a href="16_caracteres.html"><--Anterior</a>
<a href="18_Script1.html">Siguiente--></a>
</html>