81
Aprender a programar desde cero / Re:HTML ejemplo botón de envío formulario con imagen type image CU00724B button
« en: 21 de Mayo 2015, 13:28 »
En efecto, fue un despiste grave... lo que pasa es que copie y pegue esas lineas para ahorrarme tiempo pero un video de internet me distrajo 
Por cierto, ¿Los valores de los atributos siempre van entre comillas?

Código: [Seleccionar]
<! DOCTYPE HTML>
<html>
<head><meta charset="utf-8"><title>Concurso Saber y Ganar!</title></head>
<body style="background-color: Lavender;">
<h1 style="color: green; font-family: Verdana; text-align: center;">Inscripcion al concurso saber y ganar!</h1>
<form method="get" action="http://aprenderaprogramar.com">
Nombre <input name="nombre" id="nombre" type="text"/>
<br></br>
Apellidos <input name="apellido" id="apellido" type="text"/>
<br></br>
Email <input name="email" id="email" type="text"/>
<br></br>
Teléfono <input name="telefono" id="telefono" type="text"/>
<br></br>
<button type="submit">¡¡¡Me apunto!!!</button> <button type="reset">Cancelar</button>
</form>
<h1 style="color: red; font-family: Verdana; text-align: center;">Peticion de información</h1>
<form method="get" action="http://aprenderaprogramar.com">
Nombre <input name="nombres" id="nombres" type="text"/>
<br></br>
País <input name="pais" id="pais" type="text"/>
<br></br>
Email <input name="email" id="email" type="text"/>
<br></br>
Consulta que desea realizar
<br></br>
<textarea cols=30 rows=5>Escriba aqui...</textarea>
<br></br>
<input name="envio" type="image" width="130" height="30" src="http://www.simplespasos.com/images/contacto/boton_enviar.png"/>
<br></br>
<button type="reset">Pulse aqui para cancelar</br>Esto borrara los datos</button>
</form>
</body>
</html>
Por cierto, ¿Los valores de los atributos siempre van entre comillas?