FORMULARIOS EN HTML
AGREGA EL CÓDIGO DE INICIO Y CIERRE DE UNA PÁGINA WEB Y COPIA
EL SIGUIENTE CÓDIGO.
<h1>Formulario de registro</h1>
<form action="" method="get">
<p>
Nombre: <input type="text" name="nombre" maxlength="50" />
</p>
<p>
Apellidos: <input type="text" name="apellidos" maxlength="50" />
</p>
<p>
Sexo: <input type="radio" name="sexo" value="h" /> hombre <input
type="radio" name="sexo" value="m" /> mujer
</p>
<p>
Correo: <input type="text" name="correo" maxlength="100" />
</p>
<p>
<input type="checkbox"name="info" checked="checked" /> Deseo
recibir información sobre novedades y ofertas
</p>
<p>
<input type="checkbox"name="condiciones" /> Declaro haber leido y
aceptar las condiciones generales del programa y la normativa sobre
protección de datos
</p>
<p>
<input type="submit" value="Enviar" />
</p>
</form>

Formularios en html

  • 1.
    FORMULARIOS EN HTML AGREGAEL CÓDIGO DE INICIO Y CIERRE DE UNA PÁGINA WEB Y COPIA EL SIGUIENTE CÓDIGO. <h1>Formulario de registro</h1> <form action="" method="get"> <p> Nombre: <input type="text" name="nombre" maxlength="50" /> </p> <p>
  • 2.
    Apellidos: <input type="text"name="apellidos" maxlength="50" /> </p> <p> Sexo: <input type="radio" name="sexo" value="h" /> hombre <input type="radio" name="sexo" value="m" /> mujer </p> <p> Correo: <input type="text" name="correo" maxlength="100" /> </p>
  • 3.
    <p> <input type="checkbox"name="info" checked="checked"/> Deseo recibir información sobre novedades y ofertas </p> <p> <input type="checkbox"name="condiciones" /> Declaro haber leido y aceptar las condiciones generales del programa y la normativa sobre protección de datos </p>
  • 4.