HTML

HTML
creaciones

lunes, 17 de diciembre de 2012

SE PUEDE HACER ESTO INCLUYENDO UN BODY Y PONIENDO COLOR DE FONDO UNA MANERA MAS FACIL DE DISEÑAR PAGINAS ES DREAMWEAVER ES UN BUEN DISEÑADOR PARA CREAR PAGINAS CON ESTILO


Este es un ejemplo de de un programa en html.


Aqui aprendemos a crear animaciones flash player para decorar la pagina web a estos iconos se les llama gifs animados

Por medio de este proogramase puede realizar varios programas de ayuda aprendizaje e incluso juegos.
Por medio de Cierto lenguaje de comunicacion.






PROGRAMAS EN HTML


PROGRAMA


AQUI VISUALIZAREMOS UN PROGRAMA QUE SUMA DOS NUMEROS PROGRAMADO EN HTML



<html>
<head>
<title>OPERACIONES BASICAS</title>
<body bgcolor="#00FFBF">
<H1><font color="red"> OPERACIONES BASICAS </font></H1>
<script>
function sumar() {
var n1 = parseInt(document.MyForm.numero1.value);
var n2 = parseInt(document.MyForm.numero2.value);
document.MyForm.resultado.value=n1+n2;
}
function restar() {
var n1 = parseInt(document.MyForm.numero1.value);
var n2 = parseInt(document.MyForm.numero2.value);
document.MyForm.resultado.value=n1-n2;
}
function multiplicar() {
var n1 = parseInt(document.MyForm.numero1.value);
var n2 = parseInt(document.MyForm.numero2.value);
document.MyForm.resultado.value=n1*n2;
}
function dividir() {
var n1 = parseInt(document.MyForm.numero1.value);
var n2 = parseInt(document.MyForm.numero2.value);
if (n1==0){
   document.MyForm.resultado.value="No es VALIDO";
   }
else
   {
   document.MyForm.resultado.value=n1+n2;
   }
}
document.MyForm.resultado.value=n1/n2;
</script>
</head>
</SELECT>
<form name="MyForm">
<h5><font color="blue">INGRESE EL PRIMER NUMERO</H5></font><input type="text" name="numero1" size="20"><P>
<h5><font color="blue">INGRESE EL SEGUNDO NUMERO</H5></font><input type="text" name="numero2" size="20"><P>
<h5><font color="blue">RESULTADO</H5</font><input type="text" name="resultado" size="20"><P>
<input type="button" value="Sumar" onclick="sumar()"><p>
<input type="button" value="Restar" onclick="restar()"><p>
<input type="button" value="Multiplicar" onclick="multiplicar()"><p>
<input type="button" value="Dividir" onclick="dividir()"><p>
<input type="Reset" value="
Borrar"><p>
</form>
</body>
</html>