Vous êtes sur la page 1sur 3

<html>

<head><title>Practica#9</title></head>
<body bgcolor = "black">
<h1><font color = "white"><div align = "center">Operaciones</font></div></h1>
<form name = "oper">
<div align = "center"><table border = "3">
<tr bgcolor = "blue">
<td>
Valor1<input type = "text", name = "v1">Valor2<input type = "text, name = "v2"><br>
<font color = "red">Multiplicacion<input type = "text", name = "mul", size = "35"></font><br>
<font color = "orange">Division<input type = "text", name = "div", size = "35"></font><br>
<font color = "green">Resta<input type = "text", name = "res", size = "35"></font><br>
<input type="submit", name="bor", value="borrar datos"><input type="button", name = "cal",
value="calcular", onClick="A()">
</form>
<script language="JavaScript">
function A()
{
var mul=0;
mul=document.oper.v1.value*document.oper.v2.value;
document.oper.mul.value=mul;
var div=0;
div=document.oper.v1.value/document.oper.v2.value;
document.oper.div.value=div;
var res=0;
res=document.oper.v1.value-document.oper.v2.value;
document.oper.res.value=res;
</script>
<td bgcolor = "green">
<div align = "center"><font size = "4">Diseñado por</font></div>
Nombre<input type = "text", name = "nom", size = "35"><br>
Apellido P<input type = "text", name = "app", size = "35"><br>
Apellido M<input type = "text", name = "apm", size = "35"><br>
Fecha elaboracion<input type = "text", name = "f", size = "35"><br>
<td bgcolor = "orange">
Tipo de Programacion<br>
HTML<input type = "checkbox", name = "html">VC<input type = "checkbox", name =
"vc">VB<input type = "checkbox", name = "vb"><br>
Programa empleado<input type = "text", name = "txt1"><br>
</tr>
</table>
<div align = "center"><table border = "2">
<tr bgcolor = "orange">
<td>
<ul>
<li>Perro
<ol>
<li>Pera
<dl>
<dt>Correr
<dd>Accion de aumentar la velocidad
</dl>
</ol>
<li>Gato
<ol>
<li>Manzana
<dl>
<dt>Correr
<dd>Accion de aumentar la velocidad
</dl>
</ol>
<li>Gavilan
<ol>
<li>Durazno
<dl>
<dt>Correr
<dd>Accion de aumentar la velocidad
</dl>
</ol>
<li>Perico
<ol>
<li>Fresa
<dl>
<dt>Correr
<dd>Accion de aumentar la velocidad
</dl>
</ol>
<li>Tigre
<ol>
<li>Chabacano
<dl>
<dt>Correr
<dd>Accion de aumentar la velocidad
</dl>
</ol>
<li>Oso
<ol>
<li>Platano
<dl>
<dt>Correr
<dd>Accion de aumentar la velocidad
</dl>
</ol>
<li>Pantera
<ol>
<li>Zanahoria
<dl>
<dt>Correr
<dd>Accion de aumentar la velocidad
</dl>
</ol>
<li>Delfin
<ol>
<li>Guayaba
<dl>
<dt>Correr
<dd>Accion de aumentar la velocidad
</dl>
</ol>
</ul>
</tr>
</table></div>
</body>
</html>

Vous aimerez peut-être aussi