SlideShare a Scribd company logo
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<script type="text/javascript">

var x=100;

function ejemplo()



{

var y=2;

document.write (X);

}



</script>

</head>



<body>

<script type="text/javascript">



document.write (x +"<br />");

ejemplo();

</script>



</body>

</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Documento sin t&iacute;tulo</title>

</head>



<body>

<script type="text/javascript">

var x , y , z;

var suma, resta, multi, division, residuo, varios;

x = 80; y = 60;z = 15;



</body>

</html>

suma= x + y;

sumaneg=-suma

resta= x - y;

multi= x * y;

division= x / y,

residuo= x % y;

varios = (x + z) * y;



document.write ("X vale: " + x + "<br />");

document.write ("Y vale: " + Y + "<br />");

document.write ("Z vale: " + Z + "<br />");
document.write ("La suma es " + suma + "<br />");

document.write ("La resta es " + resta + "<br />");

document.write ("La multuiplicacion es " + multi+ "<br />");

document.write ("La residuo es " + residuo + "<br />");

document.write ("La resultado es " + varios + "<br />");

</script>

More Related Content

Viewers also liked (20)

O valor que...Fábio,6ºE
O valor que...Fábio,6ºEO valor que...Fábio,6ºE
O valor que...Fábio,6ºE
guesteacd5dc
 
Reportaje
ReportajeReportaje
Reportaje
Daniel Kintero
 
Tor Bridges Relay Arabic Tutorial
Tor Bridges Relay Arabic TutorialTor Bridges Relay Arabic Tutorial
Tor Bridges Relay Arabic Tutorial
Jesse Brand
 
Exercícios de exponenciais e logaritmos
Exercícios de exponenciais e logaritmosExercícios de exponenciais e logaritmos
Exercícios de exponenciais e logaritmos
euclidesgarcia
 
Granota verí de fletxa
Granota verí de fletxaGranota verí de fletxa
Granota verí de fletxa
marta12002
 
Záró rendezvény
Záró rendezvényZáró rendezvény
Záró rendezvény
Baranyigabi
 
IBM Lotus Notes Domino XPages and XPages for Mobile
IBM Lotus Notes Domino XPages and XPages for MobileIBM Lotus Notes Domino XPages and XPages for Mobile
IBM Lotus Notes Domino XPages and XPages for Mobile
Chris Toohey
 
(Pré)apresentação
(Pré)apresentação(Pré)apresentação
(Pré)apresentação
Leisy Anne Tebaldi
 
Sektörden Haberler Emarsys Ekim 2014
Sektörden Haberler Emarsys Ekim 2014Sektörden Haberler Emarsys Ekim 2014
Sektörden Haberler Emarsys Ekim 2014
Emarsys
 
Petrolun damitilmasi
Petrolun damitilmasiPetrolun damitilmasi
Petrolun damitilmasi
Faruk Eyigün
 
Uydu Yorunge
Uydu YorungeUydu Yorunge
Uydu Yorunge
kerimabdullah
 
Sektörden Haberler Emarsys Ekim 2014
Sektörden Haberler Emarsys Ekim 2014Sektörden Haberler Emarsys Ekim 2014
Sektörden Haberler Emarsys Ekim 2014
Emarsys Türkçe
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentation
Dean Kiley
 
Meraklı minik Kar yağıyor
Meraklı minik Kar yağıyorMeraklı minik Kar yağıyor
Meraklı minik Kar yağıyor
Tulay01
 
Basit Makinalar
Basit MakinalarBasit Makinalar
Basit Makinalar
kerimabdullah
 
Deniz ve Kıyı Koruma Alanları ve Köyceğiz-Dalyan Özel Çevre Koruma Bölgesi
Deniz ve Kıyı Koruma Alanları ve Köyceğiz-Dalyan Özel Çevre Koruma Bölgesi Deniz ve Kıyı Koruma Alanları ve Köyceğiz-Dalyan Özel Çevre Koruma Bölgesi
Deniz ve Kıyı Koruma Alanları ve Köyceğiz-Dalyan Özel Çevre Koruma Bölgesi
dkka_turkiye
 
Red cambridge satchel us company
Red cambridge satchel us companyRed cambridge satchel us company
Red cambridge satchel us company
berrysmith
 
Lead Generation on the Web
Lead Generation on the WebLead Generation on the Web
Lead Generation on the Web
WebMedley
 
Yakici cihaz bakim_onarim2
Yakici cihaz bakim_onarim2Yakici cihaz bakim_onarim2
Yakici cihaz bakim_onarim2
Omur Yilmaz
 
Ektopik Gebelik (Dış Gebelik) - www.jinekolojivegebelik.com
Ektopik Gebelik (Dış Gebelik) - www.jinekolojivegebelik.comEktopik Gebelik (Dış Gebelik) - www.jinekolojivegebelik.com
Ektopik Gebelik (Dış Gebelik) - www.jinekolojivegebelik.com
jinekolojivegebelik.com
 
O valor que...Fábio,6ºE
O valor que...Fábio,6ºEO valor que...Fábio,6ºE
O valor que...Fábio,6ºE
guesteacd5dc
 
Tor Bridges Relay Arabic Tutorial
Tor Bridges Relay Arabic TutorialTor Bridges Relay Arabic Tutorial
Tor Bridges Relay Arabic Tutorial
Jesse Brand
 
Exercícios de exponenciais e logaritmos
Exercícios de exponenciais e logaritmosExercícios de exponenciais e logaritmos
Exercícios de exponenciais e logaritmos
euclidesgarcia
 
Granota verí de fletxa
Granota verí de fletxaGranota verí de fletxa
Granota verí de fletxa
marta12002
 
Záró rendezvény
Záró rendezvényZáró rendezvény
Záró rendezvény
Baranyigabi
 
IBM Lotus Notes Domino XPages and XPages for Mobile
IBM Lotus Notes Domino XPages and XPages for MobileIBM Lotus Notes Domino XPages and XPages for Mobile
IBM Lotus Notes Domino XPages and XPages for Mobile
Chris Toohey
 
Sektörden Haberler Emarsys Ekim 2014
Sektörden Haberler Emarsys Ekim 2014Sektörden Haberler Emarsys Ekim 2014
Sektörden Haberler Emarsys Ekim 2014
Emarsys
 
Petrolun damitilmasi
Petrolun damitilmasiPetrolun damitilmasi
Petrolun damitilmasi
Faruk Eyigün
 
Sektörden Haberler Emarsys Ekim 2014
Sektörden Haberler Emarsys Ekim 2014Sektörden Haberler Emarsys Ekim 2014
Sektörden Haberler Emarsys Ekim 2014
Emarsys Türkçe
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentation
Dean Kiley
 
Meraklı minik Kar yağıyor
Meraklı minik Kar yağıyorMeraklı minik Kar yağıyor
Meraklı minik Kar yağıyor
Tulay01
 
Deniz ve Kıyı Koruma Alanları ve Köyceğiz-Dalyan Özel Çevre Koruma Bölgesi
Deniz ve Kıyı Koruma Alanları ve Köyceğiz-Dalyan Özel Çevre Koruma Bölgesi Deniz ve Kıyı Koruma Alanları ve Köyceğiz-Dalyan Özel Çevre Koruma Bölgesi
Deniz ve Kıyı Koruma Alanları ve Köyceğiz-Dalyan Özel Çevre Koruma Bölgesi
dkka_turkiye
 
Red cambridge satchel us company
Red cambridge satchel us companyRed cambridge satchel us company
Red cambridge satchel us company
berrysmith
 
Lead Generation on the Web
Lead Generation on the WebLead Generation on the Web
Lead Generation on the Web
WebMedley
 
Yakici cihaz bakim_onarim2
Yakici cihaz bakim_onarim2Yakici cihaz bakim_onarim2
Yakici cihaz bakim_onarim2
Omur Yilmaz
 
Ektopik Gebelik (Dış Gebelik) - www.jinekolojivegebelik.com
Ektopik Gebelik (Dış Gebelik) - www.jinekolojivegebelik.comEktopik Gebelik (Dış Gebelik) - www.jinekolojivegebelik.com
Ektopik Gebelik (Dış Gebelik) - www.jinekolojivegebelik.com
jinekolojivegebelik.com
 

Similar to Doctype html public (20)

Portafolio.carlos serrano grupo 201512_20
Portafolio.carlos serrano grupo 201512_20Portafolio.carlos serrano grupo 201512_20
Portafolio.carlos serrano grupo 201512_20
carloser12
 
Intro to JavaScript
Intro to JavaScriptIntro to JavaScript
Intro to JavaScript
Jussi Pohjolainen
 
Index
IndexIndex
Index
Juan Soria
 
0035text[1].Txt.Xhtml
0035text[1].Txt.Xhtml0035text[1].Txt.Xhtml
0035text[1].Txt.Xhtml
HOME
 
0016text[1].Txt.Xhtml
0016text[1].Txt.Xhtml0016text[1].Txt.Xhtml
0016text[1].Txt.Xhtml
HOME
 
Frfrfrf
FrfrfrfFrfrfrf
Frfrfrf
Nelinho Pereira
 
Los Estados De La Materia
Los Estados De La MateriaLos Estados De La Materia
Los Estados De La Materia
Mayritalinda
 
El Tiempo Nos Ensea 214392
El Tiempo Nos Ensea 214392El Tiempo Nos Ensea 214392
El Tiempo Nos Ensea 214392
guestc65f09
 
Base HTML & CSS
Base HTML & CSSBase HTML & CSS
Base HTML & CSS
Nick Chan
 
Intro to JavaScript
Intro to JavaScriptIntro to JavaScript
Intro to JavaScript
Jussi Pohjolainen
 
Eclampsia 4-real-presentation
Eclampsia 4-real-presentationEclampsia 4-real-presentation
Eclampsia 4-real-presentation
Adventist Medical Center-Iligan
 
Sustainable livelihood-framework-sr-presentation
Sustainable livelihood-framework-sr-presentationSustainable livelihood-framework-sr-presentation
Sustainable livelihood-framework-sr-presentation
guest6899d4f
 
0017text[1].Txt.Xhtml
0017text[1].Txt.Xhtml0017text[1].Txt.Xhtml
0017text[1].Txt.Xhtml
HOME
 
Html.php
Html.phpHtml.php
Html.php
Arun Mahojwalith Reddy
 
Web Scripting Project JavaScripts and HTML WebPage
Web Scripting Project JavaScripts and HTML WebPageWeb Scripting Project JavaScripts and HTML WebPage
Web Scripting Project JavaScripts and HTML WebPage
Sunny U Okoro
 
Chilliz
ChillizChilliz
Chilliz
Chanantron Kewwanwong
 
Jquery image slider
Jquery image slider Jquery image slider
Jquery image slider
Ishaq Shinwari
 
Dorothea orem-theory
Dorothea orem-theoryDorothea orem-theory
Dorothea orem-theory
Ramlah12041991
 
aman's code
aman's codeaman's code
aman's code
Aman Gupta
 
Web basic
Web basicWeb basic
Web basic
DesBear Li
 
Portafolio.carlos serrano grupo 201512_20
Portafolio.carlos serrano grupo 201512_20Portafolio.carlos serrano grupo 201512_20
Portafolio.carlos serrano grupo 201512_20
carloser12
 
0035text[1].Txt.Xhtml
0035text[1].Txt.Xhtml0035text[1].Txt.Xhtml
0035text[1].Txt.Xhtml
HOME
 
0016text[1].Txt.Xhtml
0016text[1].Txt.Xhtml0016text[1].Txt.Xhtml
0016text[1].Txt.Xhtml
HOME
 
Los Estados De La Materia
Los Estados De La MateriaLos Estados De La Materia
Los Estados De La Materia
Mayritalinda
 
El Tiempo Nos Ensea 214392
El Tiempo Nos Ensea 214392El Tiempo Nos Ensea 214392
El Tiempo Nos Ensea 214392
guestc65f09
 
Base HTML & CSS
Base HTML & CSSBase HTML & CSS
Base HTML & CSS
Nick Chan
 
Sustainable livelihood-framework-sr-presentation
Sustainable livelihood-framework-sr-presentationSustainable livelihood-framework-sr-presentation
Sustainable livelihood-framework-sr-presentation
guest6899d4f
 
0017text[1].Txt.Xhtml
0017text[1].Txt.Xhtml0017text[1].Txt.Xhtml
0017text[1].Txt.Xhtml
HOME
 
Web Scripting Project JavaScripts and HTML WebPage
Web Scripting Project JavaScripts and HTML WebPageWeb Scripting Project JavaScripts and HTML WebPage
Web Scripting Project JavaScripts and HTML WebPage
Sunny U Okoro
 

Doctype html public

  • 1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript"> var x=100; function ejemplo() { var y=2; document.write (X); } </script> </head> <body> <script type="text/javascript"> document.write (x +"<br />"); ejemplo(); </script> </body> </html>
  • 2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Documento sin t&iacute;tulo</title> </head> <body> <script type="text/javascript"> var x , y , z; var suma, resta, multi, division, residuo, varios; x = 80; y = 60;z = 15; </body> </html> suma= x + y; sumaneg=-suma resta= x - y; multi= x * y; division= x / y, residuo= x % y; varios = (x + z) * y; document.write ("X vale: " + x + "<br />"); document.write ("Y vale: " + Y + "<br />"); document.write ("Z vale: " + Z + "<br />");
  • 3. document.write ("La suma es " + suma + "<br />"); document.write ("La resta es " + resta + "<br />"); document.write ("La multuiplicacion es " + multi+ "<br />"); document.write ("La residuo es " + residuo + "<br />"); document.write ("La resultado es " + varios + "<br />"); </script>