EJEMPLO/ PRACTICA 24


Formulario sencillo definido con las etiquetas form e input


Los formularios más sencillos se pueden crear utilizando solamente dos etiquetas: <form> y <input>. Si se considera el formulario que muestra la siguiente imagen:
El código HTML necesario para definir el formulario anterior se muestra a continuación:
PRACTICA 24: HACER EL SIGUIENTE CODIGO EN HTML Y GUARDARLO COMO PR24XXXX.HTML, DONDE XXXX SON LAS INICIALES DE SU NOMBRE
<html>
<head><title>PRACTICA 24 ALUMNO XXXXXXXXX </title></head>
<body>

<h3>Formulario muy sencillo</h3>

<form action="mailto:edna.yukari@gmail.com" method="post" enctype="text/plain">
  Escribe tu nombre:
  <input type="text" name="nombre" value="" />

  <br/>

  <input type="submit" value="Enviar" />
</form>

</body>
</html>

Comentarios

Entradas populares de este blog

6º PARCIAL: TABLAS EN HTML

EJEMPLOS DE FRAME

CLASE 21 DE FEBRERO 2019