Tonson
Páginas: 2 (290 palabras)
Publicado: 7 de octubre de 2010
<head>
<script language="javascript">
function minusculas(texto)
{
texto.value=texto.value.toLowerCase();
}
function validacion()
{if (document.form1.nombre.value.length==0)
{
alert("Especifica tu nombre")
document.form1.nombre.focus()
return 0;
}
document.form1.submit();
}</script>
<title> QUEJAS Y SUGERENCIAS </title>
<style type="text/css">
W {color: #FFFFFF;}
body {background-image:url(image2.jpg);background-attachment:fixed; background-position: center; background-repeat: no-repeat;}
P {background-image: url(C:\Users\Vash\Documents\1er Semestre UAQ\Int. sist. inf\Practica 3\image2.jpg);}
h1{align:left; word-spacing;}
h2 {align:left; letter-spacing;}
h3 {align:center; text-indent;}
h4 {align:center; font-style:italic;}
h5 {align:right; font-style:oblique;}
h6{align:left; font-size:large; background-color:#81BEF7}
.beige{color:black; background-color:beige;}
</style>
</head>
<body>
<P>
</P>
<center><h6> QUEJAS Y SUGERENCIAS </h6>
</center>
<FORM name="form1" class="beige" action="practica 3.html" method="get">
<BR>
Nombre: <INPUT type="text"name="nombre" onkeyup="javascript:minusculas(this);"> <BR><BR>
Edad <INPUT type="text" name="edad"> <BR><BR>
E-mail <INPUT type="text" name="email"><BR>
</FORM>
<FORM action="practica 3.html" method="get">
<BR>
<textarea align="left" name="sugerencia" rows="10" cols="45"/>
Escribe tusugerencia o queja
</textarea> <BR><BR>
<input type="button" onclick="validacion()" name="enviar" value="Enviar">
</FORM>
</body>
</html>
Leer documento completo
Regístrate para leer el documento completo.