viernes, 10 de diciembre de 2021

Solución formularios (I)

 <!DOCTYPE html>

<html>

<head>

<title>Formulario</title>

</head>

<body>

    <form>

        <label for="fname">Nombre:</label><br>

        <input type="text" id="fname" name="fname"><br>

        <label for="lname">Apellidos:</label><br>

        <input type="text" id="lname" name="lname" ><br>

        <label for="contrasena">Contraseña:</label><br>

        <input type="password" id="contrasena" name="contrasena" ><br>

        <label for="dni">DNI:</label><br>

        <input type="text" id="dni" name="dni" ><br>

        <label for="sexo">Sexo</label><br>

        <input type="radio" id="Hombre" name="sexo" value="Hombre" checked>

        <label for="Hombre">Hombre</label><br>

        <input type="radio" id="Mujer" name="sexo" value="Mujer">

        <label for="Mujer">Mujer</label><br>

        <input type="checkbox" id="boletin" name="boletin" value="Boletin" checked>

        <label for="boletin"> Suscribirse al boletín de novedades</label><br>

        <input type="button" value="Guardar cambios">

        <input type="reset" value="Borrar los datos introducidos">

    </form>

</body>

</html>

No hay comentarios:

Publicar un comentario