Está en la página 1de 5

qwertyuiopasdfghjklzxcvbnmqwerty

uiopasdfghjklzxcvbnmqwertyuiopasd
fghjklzxcvbnmqwertyuiopasdfghjklzx
Anabel Nieto Zacatzi
cvbnmqwertyuiopasdfghjklzxcvbnmq
Diseño y Elaboración de Paginas
wertyuiopasdfghjklzxcvbnmqwertyui
Web
opasdfghjklzxcvbnmqwertyuiopasdfg
hjklzxcvbnmqwertyuiopasdfghjklzxc
6101

vbnmqwertyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbnmqwertyui
opasdfghjklzxcvbnmqwertyuiopasdfg
hjklzxcvbnmqwertyuiopasdfghjklzxc
vbnmqwertyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbnmqwertyui
opasdfghjklzxcvbnmqwertyuiopasdfg
hjklzxcvbnmrtyuiopasdfghjklzxcvbn
mqwertyuiopasdfghjklzxcvbnmqwert
Código:
<HTML>

<HEAD><TITLE>PRACTICA #9</TITLE></HEAD>

<BODY>

<body bgcolor="skyblue">

<H1 ALIGN="CENTER"><FONT COLOR="BLUE", FACE="CENTURY GOTHIC">OPERACIONES</FONT></H1>

<div align="center">

<TABLE BORDER="2">

<TD>

<FORM NAME ="operaciones">

PRIMER VALOR:<input type ="TEXT", NAME="val1"><br>

SEGUNDO VALOR:<input type="TEXT", NAME="val2"><BR><BR>

MULTIPLI:<input type="TEXT", NAME="multiplicacion"><BR><BR>

DIVISION:<input type="TEXT", NAME="division"><BR><BR>

RESTA:<input type="TEXT", NAME="resta"><BR><BR>

<input type="Button" name="calcular" value="Calcular " onClick="A()">

<input type="submit" name="borrar" value="borrar" onclick="borrar">

</FORM></TD>

<Script Language="JavaScript">

function A()

var mult= 0;

var div= 0;

var res= 0;

mult =document.operaciones.val1.value*document.operaciones.val2.value;

document.operaciones.multiplicacion.value=mult;
div=document.operaciones.val1.value/document.operaciones.val2.value;

document.operaciones.division.value=div;

res=document.operaciones.val1.value-document.operaciones.val2.value;

document.operaciones.resta.value=res;

</script>

<TD>

<h2 align="center">DISEÑADO POR:</h2>

Nombre: <input type="text" name="nombre"><br>

Apellido P: <input type="text" name="pat"><br>

Apellido M: <input type="text" name="mat"><br>

Fecha Elaboracion: <input type="text" name="fecha">

</td>

<td>

TIPO DE PROGRAMACION<br>

HTML<input type="checkbox"><br>

VC<input type="checkbox"><br>

VB<input type="checkbox"><br>

PROGRAMA EMPLEADO:<input type="text" name="programa", size"20">

</td>

</div>

<div align="center">

<TABLE BORDER="2">

<TD>

<UL>

<LI>VIÑETA 1

<OL>

<LI>LISTA

</ol>

<DL>

<DT>PALABRA

<DD>DEFINICION

</DL>
<LI>VIÑETA 2

<OL>

<LI>LISTA

</ol>

<DL>

<DT>PALABRA

<DD>DEFINICION

</DL>

<LI>VIÑETA 3

<OL>

<LI>LISTA

</ol>

<DL>

<DT>PALABRA

<DD>DEFINICION

</DL>

<LI>VIÑETA 4

<OL>

<LI>LISTA

</ol>

<DL>

<DT>PALABRA

<DD>DEFINICION

</DL>

<LI>VIÑETA 5

<OL>

<LI>LISTA

</ol>

<DL>

<DT>PALABRA

<DD>DEFINICION

</DL>

<LI>VIÑETA 6

<OL>
<LI>LISTA

</ol>

<DL>

<DT>PALABRA

<DD>DEFINICION

</DL>

<LI>VIÑETA 7

<OL>

<LI>LISTA

</ol>

<DL>

<DT>PALABRA

<DD>DEFINICION

</DL>

<LI>VIÑETA 8

<OL>

<LI>LISTA

</ol>

<DL>

<DT>PALABRA

<DD>DEFINICION

</DL>

</table>

</div>

</BODY>

</Html>

También podría gustarte