Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Sonia Yadira Chávez Saucedo 6101 080261266-4

<html> <head> <title> rubrica no. 3 </title> </head>


<body bgcolor = "purple">
<font face = "Lucida Calligraphy">
<h1 align = center>Rubrica 3</h1>
<hr>
<table border ="3" bgcolor = "Magenta" align = center>
<tr>
<td>
<form name = "resta">
<h2 align = center>Restele!! :D</h2>
<p align = center>
numero1: <input type = "text", name = "v1"> <br>
numero2: <input type = "text", name = "v2"> <br>
numero3: <input type = "text", name = "v3"> <br>
numero4: <input type = "text", name = "v4"> <br>
numero5: <input type = "text", name = "v5"> <br>
numero6: <input type = "text", name = "v6"> <br> <br>
La resta total es: <input type = "text", name = "res"> <br> <br>
<input type = "button", name ="calcular" value = "realizar la resta" onClick = "a()">
<input type="submit" name="bor" value="borrar valores">
</p>
</form>
</td>
<td>
<h3 align = center>Dividale!! :D</h3>
<form name = division>
<p align = center>
numero1: <input type = "text", name = v1> <br>
numero2: <input type = "text", name = v2> <br>
numero3: <input type = "text", name = v3> <br> <br>
La division total es: <input type = "text", name = res> <br> <br>
<input type = "button", name ="calcular" value = "realizar la division" onClick = "b()">
<input type="submit" name="bar" value="borrar valores">
</p>
</form>
</td>
<td>
<h3 align = center> Tus gustos =D </h3>
Artista favorito: <input type = "text", name = name> <br>
Cancion favorita: <input type = "text", name = name> <br>
Color favorito: <input type = "text", name = name> <br>
Dia favorito: <input type = "text", name = name> <br>
Hobbie favorito: <input type = "text", name = name> <br>
</td>
</tr>
<tr>
<td>
<script language ="JavaScript">
var sex = prompt ("Hombre o Mujer?","hom");
document.write ("<b><p align = left>Sexo: </p></b>", sex);
var añ = prompt ("Que tantos años teneis?: ");
document.write ("<b><p align = left>Años: </p></b>", añ );
var nom = prompt ("Como te bautizaron?: ");
document.write ("<b><p align = left>Nombre: </p></b>",nom);
</Script>
</td>
<td>
<h5 align="center">JB <3!</h5>
<dl>
<dt>Bigger:
<dd> Gotta believe in me, believe me like a fairy tale...
<dt>Down to earth:
<dd>We fight trough the hurt, and we cry...
<dt>U Smile:
<dd>If you need me I´ll come running from a 1000 miles away...
</dl>
<td>
<h4 align ="center"> OneRepublic</h4>
<form>
<input type = "checkbox", name ="say"> Say All I need...<br>
<input type = "checkbox", name ="mercy"> Angel of mercy, how did you find me...<br>
<input type = "checkbox", name ="secrets">Tell me what you want to hear...<br>
<input type = "checkbox", name ="marchn">With what we have, I´ll promise you that...<br>

</tr>

<tr>
<td>
<p align = center> <img align = center, src = "hairflip.gif"width="250" height="250">
</p>
</td>
<td>
Selecciona segun tus preferencias:
<br>
Forever Alone <input type = "radio", name ="fa"> <br>
Chico del Cereal <input type = "radio", name ="chdc">
<br>
You Know<input type = "radio", name = "yk"><br>
Challenge acepted <input type = "radio", name = "cha"> <br>
Troll face <input type = "radio", name ="tf"><br>
Fuck Yeah: <input type = "radio", name = mat><br>
</td>
<td>
<p align = center> <img align = center, src = "growingup.gif" width="250" height="250">
</p>
</td>
</tr>
</table>
<script language="JavaScript">
function a()
{
var res=1; res=document.resta.v1.value - document.resta.v2.value - document.resta.v3.value -
document.resta.v4.value - document.resta.v5.value; document.resta.res.value=res;
}
function b()
{
var res=0;
res=document.division.v1.value/document.division.v2.value/document.division.v3.value;
document.division.res.value=res;
}
</script> </tr> </table>
</font> </body> </html>

You might also like