tag:blogger.com,1999:blog-29654319198983111352024-02-20T06:43:20.001-06:00Geovanny Méndez Marín, Ingeniería en ComputaciónUnknownnoreply@blogger.comBlogger64125tag:blogger.com,1999:blog-2965431919898311135.post-68678767707516513672019-12-29T00:37:00.000-06:002014-11-10T16:45:44.103-06:00Bienvenido<center>
<b><span style="font-family: Verdana,sans-serif;">PRESIONA LA TECLA G PARA MOSTRAR EL MENÚ DE NAVEGACIÓN
</span></b><div id="intro">
<h1 id="title">
<span class="title-line" id="title-line1">Geovanny</span>
<span class="title-line" id="title-line2">Mendez</span>
<span class="title-line" id="title-line3">Marin</span>
</h1>
</div>
<div id="title-info">
<div id="desc">
Estudiante de ingeniería en Computacion</div>
<div class="credit">
Estás en <a href="http://gmendezm.blogspot.com/">http://gmendezm.blogspot.com</a></div>
</div>
</center>
<div class="WordSection1">
<div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<span style="font-family: "Arial","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">▄</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 12.0pt;">
<br /></div>
<div align="center">
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 608px;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="padding: .75pt .75pt .75pt .75pt; width: 249.75pt;" valign="top" width="333"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="font-family: "Courier New"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">Geovanny Méndez Marín</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"><br />
</span><span style="font-family: "Courier New"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"><a href="https://docs.google.com/open?id=0B7WlerwTSO2-U2VjRndPd0R6YjQ">Currículum
Vitae </a></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">Email: <a href="mailto:guikane@gmail.com">guikane@gmail.com</a></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">Redes
Sociales:<br />
<br />
</span><a href="http://www.facebook.com/ggmm87"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;"><img alt="http://i.imgur.com/8Nk75.png" border="0" height="102" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Geovanny%20M%C3%A9ndez%20Mar%C3%ADn_archivos/image001.png" width="106" /></span></span></a><a href="https://twitter.com/gmendezm"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;"><img alt="http://i.imgur.com/T7QC3.png" border="0" height="104" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Geovanny%20M%C3%A9ndez%20Mar%C3%ADn_archivos/image002.png" width="104" /></span></span></a><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<a href="http://i.imgur.com/X3QWN.png"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;"><img alt="http://i.imgur.com/X3QWN.png" border="0" height="306" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Geovanny%20M%C3%A9ndez%20Mar%C3%ADn_archivos/image004.jpg" width="320" /></span></span></a><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"></span></div>
</td>
</tr>
</tbody></table>
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<b><span style="color: blue; font-family: "Courier New"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">BANDERA DE COSTA RICA EN ENSAMBLADOR (ASM x86)</span></b><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="font-family: "Courier New"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">.<span class="SpellE">model</span> <span class="SpellE">tiny</span><br />
<br />
.data<br />
<span class="SpellE">msg</span> <span class="SpellE">db</span>
"COSTA RICA FLAG IN ASM 8086",13,10,"$"<br />
<br />
.<span class="SpellE">code</span><br />
.<span class="SpellE">startup</span> <br />
<br />
; Primera Franja (Azul)<br />
<span class="SpellE">mov</span>
ax,0600h<br />
<span class="SpellE">mov</span> bh,97h<br />
<span class="SpellE">mov</span>
cx,0000h<br />
<span class="SpellE">mov</span> dx,
034fh<br />
<span class="SpellE">int</span>
10h <br />
<br />
; Segunda Franja (Blanca)<br />
<span class="SpellE">mov</span>
ax,0600h<br />
<span class="SpellE">mov</span> bh,70h<br />
<span class="SpellE">mov</span>
cx,0400h<br />
<span class="SpellE">mov</span> dx,
074fh<br />
<span class="SpellE">int</span>
10h <br />
<br />
; Tercera Franja (Roja)<br />
<span class="SpellE">mov</span>
ax,0600h<br />
<span class="SpellE">mov</span> bh,47h<br />
<span class="SpellE">mov</span>
cx,0800h<br />
<span class="SpellE">mov</span> dx,
0B4fh<br />
<span class="SpellE">int</span>
10h <br />
<br />
; Cuarta Franja (Roja)<br />
<span class="SpellE">mov</span>
ax,0600h<br />
<span class="SpellE">mov</span> bh,47h<br />
<span class="SpellE">mov</span>
cx,0C00h<br />
<span class="SpellE">mov</span> dx,
104fh<br />
<span class="SpellE">int</span>
10h <br />
<br />
; Quinta Franja (Blanca)<br />
<span class="SpellE">mov</span> ax,0600h<br />
<span class="SpellE">mov</span> bh,70h<br />
<span class="SpellE">mov</span>
cx,1100h<br />
<span class="SpellE">mov</span> dx,
144fh<br />
<span class="SpellE">int</span>
10h <br />
<br />
; Sexta Franja (Azul)<br />
<span class="SpellE">mov</span>
ax,0600h<br />
<span class="SpellE">mov</span> bh,97h<br />
<span class="SpellE">mov</span>
cx,1500h<br />
<span class="SpellE">mov</span> dx,
184fh<br />
<span class="SpellE">int</span> 10h <br />
<br />
; Imprime el mensaje:<br />
<span class="SpellE">mov</span> dx,
offset <span class="SpellE">msg</span><br />
<span class="SpellE">mov</span> ah,9<br />
<span class="SpellE">int</span> 21h<br />
<br />
; Evitar que se cierre sola la
ventana DOS<br />
<span class="SpellE">mov</span>
ax,0C07h<br />
<span class="SpellE">int</span> 21h <br />
<br />
.<span class="SpellE">exit</span><br />
<br />
<span class="SpellE">end</span> </span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 12.0pt;">
<span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"><br /></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">
</span><span style="font-family: "Courier New"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-no-proof: yes;"><img alt="http://i.imgur.com/UIgxp.png" border="0" height="578" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Geovanny%20M%C3%A9ndez%20Mar%C3%ADn_archivos/image005.png" width="895" /></span><br />
<span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">
<br style="mso-special-character: line-break;" />
<br style="mso-special-character: line-break;" />
</span></div>
<div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<b><span style="color: blue; font-family: "Courier New"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">PROYECTOS COMUNALES</span></b><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 12.0pt;">
<span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"><br />
</span><span style="font-family: "Courier New"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">Diseño de mapas en proyecto de
reciclaje. Con este proyecto las comunidades del distrito de Venecia y el
Cantón de Grecia han obtenido un mapa y al mismo tiempo información acerca del
reciclaje.</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"><br />
<br />
</span><span style="font-family: "Courier New"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">El mapa viene acompañado de los
números de teléfono de las principales instituciones públicas de la zona,
incluyendo escuelas, <span class="SpellE">Ebais</span>, colegios y la
municipalidad<span class="GramE">..</span> </span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"><br />
<br />
</span><span style="font-family: "Courier New"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"><a href="http://gmendezm.blogspot.com/2012/12/telefonos-venecia-san-carlos.html">Teléfonos
Venecia - San Carlos</a><br />
<a href="http://gmendezm.blogspot.com/2012/12/telefonos-rio-cuarto-grecia.html">Teléfonos
Rio Cuarto - Grecia</a> </span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"><br />
<br />
<span style="mso-no-proof: yes;"><img alt="http://i.imgur.com/dJzyz.png" border="0" height="608" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Geovanny%20M%C3%A9ndez%20Mar%C3%ADn_archivos/image006.png" width="940" /></span><br />
<br />
</span><span style="font-family: "Courier New"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;">PERSONAL <a href="http://gmendezm.blogspot.com/search/label/Animales%20Favoritos?max-results=9999999">Animales
Favoritos</a></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR;"></span></div>
<div class="MsoNormal">
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-38266072421478369442015-03-09T03:39:00.001-06:002015-03-09T03:39:07.151-06:00La invitación de Geovanny Méndez M. espera tu respuesta<span style="display: none !important;font-size: 1px;visibility: hidden;opacity: 0;color: transparent;height: 0;width: 0;mso-hide: all;"></span> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; border-collapse:collapse; width:100% !important; font-family:Helvetica,Arial,sans-serif; margin:0; padding:0;" width="100%" bgcolor="#DFDFDF"> <tbody> <tr> <td colspan="3"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="1"> <tbody> <tr> <td> <div style="height:5px;font-size:5px;line-height:5px;"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="table-layout: fixed;"> <tbody> <tr> <td align="center"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; min-width:290px;" width="600" class="responsive"> <tbody> <tr> <td style="font-family:Helvetica,Arial,sans-serif;"> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:8px;font-size:8px;line-height:8px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#DDDDDD"> <tbody> <tr> <td align="left" valign="middle" width="95" height="21" id="base-header-logo"><a style="text-decoration:none;cursor:pointer;border:none;display:block;height:21px;width:100%;" href="http://www.linkedin.com/blink?simpleRedirect=3ANnT1UplZSrCAZqSkCcP4McChKqmRBsyRBrmZEnSZDrSMJoyRJtCVFnSRJrScJr6RBfmtKqmJzon9Q9D1JrzRQ9D0SbjhHs6pLcjtFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead="><img src="https://static.licdn.com/scds/common/u/images/email/logos/logo_linkedin_tm_email_95x21_v1.png" width="95" height="21" alt="LinkedIn" style="border:none;text-decoration:none;" /></a></td> </tr> </tbody> </table> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:8px;font-size:8px;line-height:8px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#333333"> <tbody> <tr> <td width="20" class="responsive-spacer"> <table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td width="100%"> <table width="560" cellspacing="0" cellpadding="1" border="0" class="header-spacer" style="table-layout: fixed;"> <tbody> <tr> <td width="560"> <div style="height:12px;font-size:12px;line-height:12px;width:560px;"> </div></td> </tr> </tbody> </table></td> <td width="20" class="responsive-spacer"> <table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="#FFFFFF"> <tbody> <tr> <td width="20" class="res-width10"> <table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td style="color: #333333; font-family: Helvetica,Arial,sans-serif; font-size: 15px; line-height: 18px;" align="left"> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-height10"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="responsive"> <tbody> <tr> <td style="font-family:Helvetica,Arial,sans-serif;color:#333333;">A <b>Geovanny Méndez M.</b> le gustaría conectar en LinkedIn. ¿Cómo te gustaría responder?</td> </tr> <tr> <td style="border-bottom-color: #E5E5E5;border-bottom-width: 1px; border-bottom-style: solid;"> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"> <tbody> <tr> <td width="150" valign="top" style="vertical-align: top;" class="res-img100"><a href="http://www.linkedin.com/blink?simpleRedirect=0UczcNej0Rc3gOc3kNcz0UdPARfkh9rCZFt65QqnpKqip4hAwRukF4djRVpkJApn9xq7cCej5vs7xBnTpKqjRHpipOpmhKqmRBsyRQs6lzoS4JrThLq70JoyRDtCVFnSRJrScJr6RBfmtKqmJzon9Q9ClQqnpKimtBkClOs3Rx9D0SbjhHs6pLcjtFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=" style="text-decoration:none;cursor:pointer;"><img alt="Geovanny Méndez M." src="https://media.licdn.com/mpr/mpr/shrink_150_150/p/4/000/184/0dd/0d5ca90.jpg" width="150" height="150" border="0" class="res-img100" style="border:none;text-decoration:none;outline:hidden;display:block;" /></a></td> <td width="20"> <table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td style="vertical-align: top; font-family: Helvetica,Arial,sans-serif;" width="100%"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"> <tbody> <tr> <td valign="top"><a href="http://www.linkedin.com/blink?simpleRedirect=e38PcjAMdj0Qcz0Rcj8Me3sVdjR4imVLqnhxt6BSrCACh4p8dnBah3kZumlbp6lOomxP9zANnT1UplZSrCAZqSkCsClArCBJpn8Jt71BoSdxbmlJomUJoyRDtCVFnSRJrScJr6RBfmtKqmJzon9Q9ClQqnpKimtBkClOs3Rx9D0SbjhHs6pLcjtFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=" style="font-size: 20px; font-weight: bold; color:#000000;text-decoration:none;">Geovanny Méndez M.</a></td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:3px;font-size:3px;line-height:3px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td style="color: #666666; font-size: 15px;" class="res-font16">--</td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:10px;font-size:10px;line-height:10px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="left"> <tbody> <tr> <td align="center" height="30" valign="middle" bgcolor="#287BBC" background="https://static.licdn.com/scds/common/u/img/email/bg_btn_katy_blue_medium.png" style="background:url(https://static.licdn.com/scds/common/u/img/email/bg_btn_katy_blue_medium.png) repeat-x scroll bottom #287BBC;background-color:#287BBC;border:1px solid #1B5480;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px; cursor: pointer;"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="transparent"> <tbody> <tr> <td width="13"> <table width="13px" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td><a href="http://www.linkedin.com/blink?simpleRedirect=3wOcP4Vc3kMd38Mdj4Oc3wTejkZh4BKrSBQonhFtCVF9Ah6i3lViAgRfnBBiShBsC5EsOoVclZMu6lvtCVFfmJB9D9Bp6VFrmlObnhMpmdzoiRKrThQtm8JoyRDtCVFnSRJrScJr6RBfmtKqmJzon9Q9ClQqnpKimtBkClOs3Rx9D0SbjhHs6pLcjtFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=" style="text-decoration:none; font-size: 13px;font-weight: bold;color: white;white-space: nowrap;display: block;" target="_blank"><span style="font-size: 13px;font-weight: bold;color: white;white-space: nowrap;display: block;">Confirma que conoces a Geovanny</span></a></td> <td width="13"> <table width="13px" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> <td width="20" class="res-width10"> <table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="600" class="responsive"> <tbody> <tr> <td align="left"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="responsive"> <tbody> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:10px;font-size:10px;line-height:10px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td align="left"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; font-size:11px; font-family:Helvetica,Arial,sans-serif; color:#999999;" width="100%" class="responsive res-font10"> <tbody> <tr> <td>Has recibido una invitación a conectar. LinkedIn utilizará tu dirección de correo electrónico para enviar sugerencias a nuestros miembros en funcionalidades como Gente que podrías conocer. <a style="text-decoration:none;color:#0077B5;" href="http://www.linkedin.com/blink?simpleRedirect=70SbjhHs6pLcjtFbnBUuzpTrjRAqmkCtSRIkkwTq6JMjjBkbmFQhSBHijARoD9Lil9xsAxom5YRpT4MoDlWmBcVekRgqztgj6NccTpIpmFcl6Z5lPxHi7oRenplgk51glF6lTpRhQFLt4h5kk4Zp6BLr2oVclZMu6lvtCVFfmJB9B4ScSh5hSxmhD9JhB51fmVBqSZkp6BJ9CVRr3RQ9D0SbjhHs6pLcjtFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=">Date de baja</a></td> </tr> <tr> <td></td> </tr> <tr> <td>Si necesitas ayuda o tienes alguna pregunta, ponte en contacto con el <a style="color:#0077B5;text-decoration:none;" target="_blank" href="http://www.linkedin.com/blink?simpleRedirect=0VclZMu6lvtCVFfmJB9CNOlmlzqnpOpldOpmRLt7dRoPRx9D0SbjhHs6pLcjtFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=">Servicio de atención al cliente de LinkedIn</a>.</td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:10px;font-size:10px;line-height:10px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <img src="http://www.linkedin.com/emimp/mw6zxy-i71ofpk4-6p.gif" style="width:1px; height:1px;" /> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-1856813099312406252015-03-03T02:34:00.001-06:002015-03-03T02:34:14.079-06:00La invitación de Geovanny Méndez M. espera tu respuesta<span style="display: none !important;font-size: 1px;visibility: hidden;opacity: 0;color: transparent;height: 0;width: 0;mso-hide: all;"></span> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; border-collapse:collapse; width:100% !important; font-family:Helvetica,Arial,sans-serif; margin:0; padding:0;" width="100%" bgcolor="#DFDFDF"> <tbody> <tr> <td colspan="3"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="1"> <tbody> <tr> <td> <div style="height:5px;font-size:5px;line-height:5px;"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="table-layout: fixed;"> <tbody> <tr> <td align="center"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; min-width:290px;" width="600" class="responsive"> <tbody> <tr> <td style="font-family:Helvetica,Arial,sans-serif;"> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:8px;font-size:8px;line-height:8px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#DDDDDD"> <tbody> <tr> <td align="left" valign="middle" width="95" height="21" id="base-header-logo"><a style="text-decoration:none;cursor:pointer;border:none;display:block;height:21px;width:100%;" href="http://www.linkedin.com/blink?simpleRedirect=3ANnT1UplZSrCAZqSkCcP4McChKqmRBsyRBrmZEnSZDrSMJoyRJtCVFnSRJrScJr6RBfmtKqmJzon9Q9D1JrzRQ9DERbm5BdmwNt3pFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead="><img src="https://static.licdn.com/scds/common/u/images/email/logos/logo_linkedin_tm_email_95x21_v1.png" width="95" height="21" alt="LinkedIn" style="border:none;text-decoration:none;" /></a></td> </tr> </tbody> </table> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:8px;font-size:8px;line-height:8px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#333333"> <tbody> <tr> <td width="20" class="responsive-spacer"> <table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td width="100%"> <table width="560" cellspacing="0" cellpadding="1" border="0" class="header-spacer" style="table-layout: fixed;"> <tbody> <tr> <td width="560"> <div style="height:12px;font-size:12px;line-height:12px;width:560px;"> </div></td> </tr> </tbody> </table></td> <td width="20" class="responsive-spacer"> <table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="#FFFFFF"> <tbody> <tr> <td width="20" class="res-width10"> <table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td style="color: #333333; font-family: Helvetica,Arial,sans-serif; font-size: 15px; line-height: 18px;" align="left"> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-height10"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="responsive"> <tbody> <tr> <td style="font-family:Helvetica,Arial,sans-serif;color:#333333;">A <b>Geovanny Méndez M.</b> le gustaría conectar en LinkedIn. ¿Cómo te gustaría responder?</td> </tr> <tr> <td style="border-bottom-color: #E5E5E5;border-bottom-width: 1px; border-bottom-style: solid;"> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"> <tbody> <tr> <td width="150" valign="top" style="vertical-align: top;" class="res-img100"><a href="http://www.linkedin.com/blink?simpleRedirect=0UczcNej0Rc3gOc3kNcz0UdPARfkh9rCZFt65QqnpKqip4hAwRukF4djRVpkJApn9xq7cCej5vs7xBnTpKqjRHpipOpmhKqmRBsyRQs6lzoS4JrThLq70JoyRDtCVFnSRJrScJr6RBfmtKqmJzon9Q9ClQqnpKimtBkClOs3Rx9DERbm5BdmwNt3pFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=" style="text-decoration:none;cursor:pointer;"><img alt="Geovanny Méndez M." src="https://media.licdn.com/mpr/mpr/shrink_150_150/p/4/000/184/0dd/0d5ca90.jpg" width="150" height="150" border="0" class="res-img100" style="border:none;text-decoration:none;outline:hidden;display:block;" /></a></td> <td width="20"> <table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td style="vertical-align: top; font-family: Helvetica,Arial,sans-serif;" width="100%"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"> <tbody> <tr> <td valign="top"><a href="http://www.linkedin.com/blink?simpleRedirect=e38PcjAMdj0Qcz0Rcj8Me3sVdjR4imVLqnhxt6BSrCACh4p8dnBah3kZumlbp6lOomxP9zANnT1UplZSrCAZqSkCsClArCBJpn8Jt71BoSdxbmlJomUJoyRDtCVFnSRJrScJr6RBfmtKqmJzon9Q9ClQqnpKimtBkClOs3Rx9DERbm5BdmwNt3pFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=" style="font-size: 20px; font-weight: bold; color:#000000;text-decoration:none;">Geovanny Méndez M.</a></td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:3px;font-size:3px;line-height:3px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td style="color: #666666; font-size: 15px;" class="res-font16">--</td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:10px;font-size:10px;line-height:10px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="left"> <tbody> <tr> <td align="center" height="30" valign="middle" bgcolor="#287BBC" background="https://static.licdn.com/scds/common/u/img/email/bg_btn_katy_blue_medium.png" style="background:url(https://static.licdn.com/scds/common/u/img/email/bg_btn_katy_blue_medium.png) repeat-x scroll bottom #287BBC;background-color:#287BBC;border:1px solid #1B5480;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px; cursor: pointer;"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="transparent"> <tbody> <tr> <td width="13"> <table width="13px" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td><a href="http://www.linkedin.com/blink?simpleRedirect=3wOcP4Vc3kMd38Mdj4Oc3wTejkZh4BKrSBQonhFtCVF9Ah6i3lViAgRfnBBiShBsC5EsOoVclZMu6lvtCVFfmJB9D9Bp6VFrmlObnhMpmdzoiRKrThQtm8JoyRDtCVFnSRJrScJr6RBfmtKqmJzon9Q9ClQqnpKimtBkClOs3Rx9DERbm5BdmwNt3pFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=" style="text-decoration:none; font-size: 13px;font-weight: bold;color: white;white-space: nowrap;display: block;" target="_blank"><span style="font-size: 13px;font-weight: bold;color: white;white-space: nowrap;display: block;">Confirma que conoces a Geovanny</span></a></td> <td width="13"> <table width="13px" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> <td width="20" class="res-width10"> <table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="600" class="responsive"> <tbody> <tr> <td align="left"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="responsive"> <tbody> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:10px;font-size:10px;line-height:10px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td align="left"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; font-size:11px; font-family:Helvetica,Arial,sans-serif; color:#999999;" width="100%" class="responsive res-font10"> <tbody> <tr> <td>Has recibido una invitación a conectar. LinkedIn utilizará tu dirección de correo electrónico para enviar sugerencias a nuestros miembros en funcionalidades como Gente que podrías conocer. <a style="text-decoration:none;color:#0077B5;" href="http://www.linkedin.com/blink?simpleRedirect=7ERbm5BdmwNt3pFbnBUuzpTrjRAqmkCpQUUs65fpk5MsC4Sr5BPcz4Ql7lqmjlAc6tGbjphoDhjcT97pkhxiDhgiSFIgAh2sSFfiSRIoBxMekF1pmdGdRpUpnplgk51tQ94i5B7hmMVcQp6kk4Zp6BLr2oVclZMu6lvtCVFfmJB9B4ScSh5hSxmhD9JhB51fmVBqSZkp6BJ9CVRr3RQ9DERbm5BdmwNt3pFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=">Date de baja</a></td> </tr> <tr> <td></td> </tr> <tr> <td>Si necesitas ayuda o tienes alguna pregunta, ponte en contacto con el <a style="color:#0077B5;text-decoration:none;" target="_blank" href="http://www.linkedin.com/blink?simpleRedirect=0VclZMu6lvtCVFfmJB9CNOlmlzqnpOpldOpmRLt7dRoPRx9DERbm5BdmwNt3pFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=">Servicio de atención al cliente de LinkedIn</a>.</td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:10px;font-size:10px;line-height:10px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <img src="http://www.linkedin.com/emimp/mw6zxy-i6t1h5ea-5z.gif" style="width:1px; height:1px;" /> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-50951575900107879152015-03-01T22:43:00.001-06:002015-03-01T22:43:28.176-06:00Me gustaría añadirte a mi red profesional en LinkedIn<span style="display: none !important;font-size: 1px;visibility: hidden;opacity: 0;color: transparent;height: 0;width: 0;mso-hide: all;"></span> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; border-collapse:collapse; width:100% !important; font-family:Helvetica,Arial,sans-serif; margin:0; padding:0;" width="100%" bgcolor="#DFDFDF"> <tbody> <tr> <td colspan="3"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="1"> <tbody> <tr> <td> <div style="height:5px;font-size:5px;line-height:5px;"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="table-layout: fixed;"> <tbody> <tr> <td align="center"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; min-width:290px;" width="600" class="responsive"> <tbody> <tr> <td style="font-family:Helvetica,Arial,sans-serif;"> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:8px;font-size:8px;line-height:8px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#DDDDDD"> <tbody> <tr> <td align="left" valign="middle" width="95" height="21" id="base-header-logo"><a style="text-decoration:none;cursor:pointer;border:none;display:block;height:21px;width:100%;" href="https://www.linkedin.com/blink?simpleRedirect=1QsSlRpRZBt6BSrCAZqSkCrStLr2RBt6BSrCAJt7dBtmsJr6RBfmtKqmJzon9Q9D1JrzRQ9z4PbjhQpndAszpFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead="><img src="https://static.licdn.com/scds/common/u/images/email/logos/logo_linkedin_tm_email_95x21_v1.png" width="95" height="21" alt="LinkedIn" style="border:none;text-decoration:none;" /></a></td> </tr> </tbody> </table> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:8px;font-size:8px;line-height:8px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#333333"> <tbody> <tr> <td width="20" class="responsive-spacer"> <table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td width="100%"><span style="color:#FFF;"> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:18px;font-size:18px;line-height:18px"> </div></td> </tr> </tbody> </table>Geovanny Méndez M. quisiera mantener el contacto en LinkedIn. <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:18px;font-size:18px;line-height:18px"> </div></td> </tr> </tbody> </table></span></td> <td width="20" class="responsive-spacer"> <table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="#FFFFFF"> <tbody> <tr> <td width="20" class="res-width10"> <table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td style="color: #333333; font-family: Helvetica,Arial,sans-serif; font-size: 15px; line-height: 18px;" align="left"> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-height10"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"> <tbody> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"> <tbody> <tr> <td width="120" valign="top" style="vertical-align: top;"><img alt="Geovanny Méndez M." src="https://media.licdn.com/mpr/mpr/shrink_60_60/p/4/000/184/0dd/0d5ca90.jpg" width="60" height="60" border="0" style="border:none;outline:hidden;" /></td> <td width="20"> <table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td style="vertical-align: top; font-family: Helvetica,Arial,sans-serif;" width="100%"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"> <tbody> <tr> <td style="font-size: 20px; font-weight: bold; color:#333333;" valign="top">Geovanny Méndez M.</td> </tr> <tr> <td style="color:#333333;font-size:15px;" class="res-font16">--</td> </tr> <tr> <td style="color:#B3B3B3;font-size:13px;" class="res-font16">Costa Rica</td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"> <tbody> <tr> <td style="border-bottom:1px solid #e5e5e5;"> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"> <tbody> <tr> <td style="font-family:Helvetica,Arial,sans-serif;color:#333333;font-size:15px;">Me gustaría añadirte a mi red profesional en LinkedIn.</td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:15px;font-size:15px;line-height:15px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td>Geovanny</td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="left"> <tbody> <tr> <td align="center" height="30" valign="middle" bgcolor="#287BBC" background="https://static.licdn.com/scds/common/u/img/email/bg_btn_katy_blue_medium.png" style="background:url(https://static.licdn.com/scds/common/u/img/email/bg_btn_katy_blue_medium.png) repeat-x scroll bottom #287BBC;background-color:#287BBC;border:1px solid #1B5480;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px; cursor: pointer;"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="transparent"> <tbody> <tr> <td width="13"> <table width="13px" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> <td><a href="https://www.linkedin.com/blink?simpleRedirect=0UczcNej0Rc3gOc3kNcz0UdPARfkh9rCZFt65QqnpKqip4hAwRukF4djRVpkJApn9xq7cCt7dBtmtvpnhFtCVFfmJB9C5QoORBt6BSrCAJt7dBtmsJr6RBfmtKqmJzon9Q9ClQqnpKimtBkClOs3Rx9z4PbjhQpndAszpFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=" style="text-decoration:none; font-size: 13px;font-weight: bold;color: white;white-space: nowrap;display: block;" target="_blank"><span style="font-size: 13px;font-weight: bold;color: white;white-space: nowrap;display: block;">Confirma que conoces a Geovanny</span></a></td> <td width="13"> <table width="13px" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> <td width="20" class="res-width10"> <table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"> <tbody> <tr> <td> <div style="height:0px;font-size:0px;line-height:0px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="600" class="responsive"> <tbody> <tr> <td align="left"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="responsive"> <tbody> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:10px;font-size:10px;line-height:10px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td align="left"> <table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; font-size:11px; font-family:Helvetica,Arial,sans-serif; color:#999999;" width="100%" class="responsive res-font10"> <tbody> <tr> <td>Has recibido una invitación a conectar. LinkedIn utilizará tu dirección de correo electrónico para enviar sugerencias a nuestros miembros en funcionalidades como Gente que podrías conocer. <a style="text-decoration:none;color:#0077B5;" href="https://www.linkedin.com/blink?simpleRedirect=0NcOQQt6lPp78SqiRVu7EStSQZp6BB9CtmsAhijCtSgkl7jmdQmAdKlkN5pRdicmRipCUOdAdhdzpCiT9IqQBztklam454pl99pAxNhmpMtPBeinxkdPwTulBSlk51gl5Hr7FRbkxFkmtvhl51fmhFrSMCt7dBtmtvpnhFtCVFfmJB9B4ScSh5hSxmhD9JhB51fmVBqSZkp6BJ9CVRr3RQ9z4PbjhQpndAszpFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=">Date de baja</a></td> </tr> <tr> <td><a style="text-decoration:none;color:#0077B5;" href="https://www.linkedin.com/blink?simpleRedirect=e3wTd3RAimlIoSBQsC4Ct7dBtmtvpnhFtCVFfmJB9CNOlmlzqnpOpldOpmRLt7dRoPRx9z4PbjhQpndAszpFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=">Averigua por qué incluimos esto.</a></td> </tr> <tr> <td>Si necesitas ayuda o tienes alguna pregunta, ponte en contacto con el <a style="color:#0077B5;text-decoration:none;" target="_blank" href="https://www.linkedin.com/blink?simpleRedirect=t7dBtmtvpnhFtCVFfmJB9CNOlmlzqnpOpldOpmRLt7dRoPRx9z4PbjhQpndAszpFbnBUuzpTrjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5978021512366555136_500&markAsRead=">Servicio de atención al cliente de LinkedIn</a>.</td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:10px;font-size:10px;line-height:10px"> </div></td> </tr> </tbody> </table></td> </tr> <tr> <td></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"> <tbody> <tr> <td> <div style="height:20px;font-size:20px;line-height:20px"> </div></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table> <img src="http://www.linkedin.com/emimp/mw6zxy-i6rdset4-31.gif" style="width:1px; height:1px;" /> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-3653222156835996752014-10-03T23:53:00.004-06:002014-10-03T23:53:21.517-06:00Descarga de Mixit-2Este programa lo usan los agronomos para equilibrar raciones.<br />
<br />
Lo pueden descargar del siguiente enlace<br />
<br />
<a href="http://zootechnologies.jimdo.com/descargas/">http://zootechnologies.jimdo.com/descargas/</a><br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-75152810718471682582014-04-05T01:53:00.003-06:002014-04-05T01:53:56.426-06:00Gato en Scheme, Tic-Tac-Toe en Scheme (Vecinos, Profundidad, Extender)Apuesto a que te brillaron los ojos pensando que lo habías encontrado ya hecho.<br />
<br />
Gran error.... gran gran error... xD<br />
<br />
Yo he resuelto este algoritmo, pero utilizando backtracking. .<br />
<br />
Con eso que dice Oscar, ni ideaUnknownnoreply@blogger.com1tag:blogger.com,1999:blog-2965431919898311135.post-86286639737780433482014-01-12T12:48:00.001-06:002014-01-12T12:48:11.612-06:00El software y la computación en las elecciones Costa Rica 2014<span style="font-family: Arial, Helvetica, sans-serif;">Hace unos días me llegó a la mente una cuestión, pero me dio pereza indagar. Ayer tenía ganas y me puse a revisar muy rápidamente los planes del gobierno para salir de la duda.<br /><br />La duda es sobre el software. Qué nos dicen los candidatos sobre esta labor.<br /><br />Como sabemos el software entra en el ámbito de infraestructura, educación, tecnología, y muchos más.<br /><br />Me surgió la duda porque hace poco leí sobre Uruguay lo siguiente:<br /><br />http://www.fayerwayer.com/2014/01/uruguay-pone-el-ejemplo-con-la-ley-de-software-libre-y-formatos-abiertos/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+fayerwayer+%28FayerWayer%29<br /><br />Encontré otra persona que realizó algo similar a finales del año pasado:<br />http://tecnologoconaspiraciones.blogspot.com/2013/11/analisis-de-capitulo-de-ciencia-y.html<br /><br /><br /><br />Así que en primer lugar revisé quienes son los candidatos a la presidencia, eso lo conseguí fácil:<br /><br />http://es.wikipedia.org/wiki/Elecciones_presidenciales_de_Costa_Rica_de_2014<br /><br />Luis Guillermo Solís Rivera - PAC<br />José María Villalta Florez-Estrada - FA<br />Otto Guevara Guth - ML<br />Johnny Araya Monge - PLN<br />Rodolfo Piza Rocafort - PUSC<br />José Miguel Corrales Bolaños - PPN<br />Justo Orozco Álvarez - PRC<br />Óscar Andrés López Arias - PAE<br />José Manuel Echandi Meza - PAN<br />Walter Muñoz Céspedes - PIN<br />Sergio Mena Díaz - PNG<br />Carlos Luis Avendaño Calvo - PRN<br />Héctor Monestel Herrera - PT<br /><br />Para revisar estas propuestas, realicé búsquedas rápidas con los siguientes términos:<br />- Software<br />- Computadora - Computación<br />- Informática<br />- Tecnología<br /><br />-----------------------------------------------------------------------------<br /><br />Plan de Gobierno del Partido Acción Ciudadana<br />https://docs.google.com/uc?id=0B5_DD0eFQPjraEYxbjdScVllcGxsU2Myd0k4bHI5clRLN2lV&export=download<br /><br />Realizando una búsqueda rápida con la palabra software, no se encuentra en el documento, pero vienen algunas cuestiones interesantes<br /><br /> • Invertir al menos un 1% del PIB en ciencia y <br /> tecnología<br /><br /> • Atraer la inversión extranjera principalmente <br /> en sectores que desarrollen tecnología de punta, <br /> produzcan empleo, respeten el ambiente y <br /> procuren generar encadenamientos productivos <br /> que generen mayor valor agregado.<br /><br /> • Fortalecer la investigación en salud y en <br /> particular en la biotecnología, la bioinformática <br /> y la producción de medicamentos<br /><br /> 4. GARANTIZAR LA EDUCACIÓN ACADÉMICA Y <br /> TÉCNICA DE CALIDAD[...] Se da un grave déficit acumulado <br /> en infraestructura escolar, y la existente está en <br /> franco deterioro, además de que hay problemas <br /> de equipamiento. Por otra parte, en la era de <br /> la información y de la comunicación, se trata de <br /> incorporar las tecnologías como herramientas, <br /> ignorando el potencial transformador de los <br /> paradigmas que las dinámicas de uso de las <br /> soluciones informáticas nos brindan<br /><br /> Constituir procesos de formación continua <br /> en el uso de tecnologías de la información <br /> y la comunicación, nuevas metodologías y <br /> estrategias pedagógicas. <br /><br /> • Crear la Escuela Virtual de Deportes <br /> aprovechando las herramientas que ofrecen las <br /> Tecnologías de la Información y la Comunicación.<br /><br /> • Establecer una educación moderna, actualizada <br /> y de calidad, maximizando el uso adecuado de <br /> las tecnologías de la información.<br /><br />En la página del PAC aparecen más cosas:<br /><br />https://luisguillermo.cr/propuestas/178-ciencia-y-tecnologia<br /><br /> 12. Determinar la forma en que el Estado garantizará el acceso a las tecnologías de información y comunicación, así como la promoción del uso de sistemas operativos libres, ofimáticas libres y formatos abiertos (“software libre”) en las instituciones estatales y la educación costarricense, estableciendo alianzas estratégicas con instituciones estatales, organizaciones o empresas que hayan realizado o estén realizando procesos de cambio a Software Libre y otros países latinoamericanos con experiencias exitosas, con el fin de apoyar procesos responsables de cambio a estos sistemas.<br /><br /> 6. Apoyo a los Centros Comunitarios Inteligentes (CECI) para potenciar el acceso a las plataformas de internet, correos electrónicos dinámicos, estables y accesibles, además de desarrollar instancias promocionales nacionales y locales, con la producción de contenidos de interés local que fomenten actividades como: turismo, la agricultura y la inversión empresarial, entre otras.<br /><br /> 2. Fortalecimiento del Fondo Nacional de Ciencia y Tecnología (FONACIT) para impulsar la investigación, divulgación, innovación y desarrollo científico-tecnológico. Se buscará la participación de las pequeñas y medianas empresas nacionales que necesitan innovar en sus productos y de esa forma competir en los mercados. <br /><br /> 3. Difusión de la Firma Digital.<br /><br /> 8. El Establecimiento de un plan integral de formación de científicos y tecnólogos, fortaleciendo los programas de grado y postgrado, así como las becas de postgrado en el extranjero, a fin de consolidar un equipo de investigadores que aseguren un crecimiento sostenido del acervo nacional en la materia. <br /><br /> 7. Desarrollo de la "alfabetización tecnológica", en coordinación con el Ministerio de Educación, para que esta juegue un papel relevante para los sistemas educativos de docentes y estudiantes. De esta forma se promoverá el acceso universal al uso de tecnologías de información y comunicación, a fin de acelerar la inserción de nuestro país y su población en la sociedad del conocimiento, y de esta manera apoyar los esfuerzos que impulsa el Plan Nacional de Desarrollo de Telecomunicaciones y otros. <br /><br /> 10. Fomento a una agenda digital que considerará, entre otros, los siguientes aspectos: Derecho a la Información y la Comunicación y reducción de la brecha digital; definición de objetivos y metas de corto/mediano/largo plazo en materia infraestructura y conectividad; programas de educación de los recursos humanos; desarrollo de aplicaciones y fomento a la industria TIC, especialmente las micro y pequeñas empresas nacionales; perfeccionamiento de la legislación sobre las TICs y del marco regulatorio; elaboración de un Plan Nacional de Gobierno Digital que incluya aspectos tales como: recursos, política de software, interoperabilidad, ciberseguridad, política de inversiones públicas en TIC, definición de estándares, generación de estadísticas en este campo y asignación de responsabilidades institucionales; definición de estrategias territoriales y sectoriales para el desarrollo de las TICs en campos como la educación, salud, justicia, productividad en distintos sectores productivos y eficiencia empresarial, ciencia, tecnología e innovación, entre otros; selección de instrumentos que se emplearan para llevar adelante la estrategia y papel que le corresponde a los diferentes actores para fomentar la tenencia y uso, estimular la producción de TIC y reducir la brecha digital.<br /><br /><br /><br />-----------------------------------------------------------------------------<br /><br />José María Villalta Florez-Estrada - Frente Amplio<br /><br />En FA tienen dos documentos<br />1. Plan de Gobierno<br />2. 100 propuestas para el bien común<br /><br /> Promover el dominio de un segundo<br /> idioma por parte del personal<br /> docente, así como un manejo fluido<br /> de las tecnologías de la información<br /> y de destrezas en lo relativo a<br /> programas de cómputo, en aras<br /> de reducir la brecha tecnológica.<br /> Implementar para el personal<br /> docente más y mejores programas<br /> de preparación y actualización con<br /> los medios tecnológicos digitales.<br /> Vincularle con los procesos<br /> interdisciplinarios virtuales que<br /> guían el acompañamiento curricular<br /> del estudiante. (PIAD), expediente<br /> virtual, etc.<br /><br /> Incorporar a la Ley de Igualdad de<br /> Oportunidades para las Personas<br /> con Discapacidad (7600) un capítulo<br /> sobre accesibilidad informática y a<br /> las nuevas tecnologías, incluyendo<br /> el acceso a trámites y servicios<br /> públicos en línea. En la actualidad,<br /> la mayoría de instituciones públicas<br /> no contemplan mecanismos para<br /> el acceso de las personas con<br /> discapacidad a sus plataformas<br /> informáticas<br /><br /> Reducir<br /> considerablemente los errores y<br /> atrasos en el pago de planillas,<br /> mediante la modernización y el<br /> uso adecuado de los sistemas<br /> informáticos. <br /><br /><br />El documento de las 100 propuestas no dice nada sobre software ni nada por el estilo, o al menos no encontré nada usando las búsquedas automatizadas.<br /><br /><br />-----------------------------------------------------------------------------<br /><br />Johnny Araya Monge en el Partido Liberación Nacional<br /><br />Tienen promocionadas dos secciones<br />1. 8 prioridades de campaña<br />2. Plan de Gobierno<br /><br />En la sección de las 8 prioridades de gobierno aparece lo siguiente:<br /><br /> Tecnologías de información – dotar a cada estudiante con una computadora y acceso a internet de banda ancha en su lugar de estudio.<br /><br /> Incorporar a la población actualmente excluida a programas educativos abiertos, virtuales o semi-presenciales.<br /><br /> Fortalecer la educación superior en las regiones con nuevas carreras, programas de extensión e investigación.<br /><br /> Fortalecer la transferencia de tecnología y competencias a los sectores productivos y actores sociales.<br /><br />En el plan de gobierno aparece lo siguiente:<br /><br /> • Revisar los materiales educativos para <br /> adecuarlos a las modi caciones curriculares<br /> y a las nuevas tecnologías digitales. En la <br /> medida de lo posible, dotar a los estudiantes <br /> de acceso a computadores y tabletas con <br /> acceso a Internet.<br /> <br /> No debería haber <br /> en nuestro país un solo joven que no tenga y <br /> use las herramientas tecnológicas, tales como <br /> computadoras, teléfonos inteligentes, con <br /> acceso a internet. Debemos avanzar hacia la <br /> universalización al más bajo costo, a tener <br /> internet. <br /><br /> Si queremos avanzar en las nuevas industrias <br /> como la robótica, la nanotecnología, la <br /> informática, la inteligencia artificial o la <br /> biotecnología y sus diferentes ramas y áreas, <br /> se hace necesario invertir más en la <br /> formación de recursos humanos y el <br /> fortalecimiento de la investigación y desarrollo <br /> de nuevos productos y sectores productivos. <br /> Debemos fomentar la inversión privada y <br /> complementarla con mayor inversión pública <br /> estratégica en la ciencia y la tecnología. <br /> Ningún país que crezca hoy en día por encima <br /> del 4% anual es resultado de la casualidad. <br /> Se trata de una planeada integración <br /> inteligente a las nuevas industrias y áreas de <br /> la ciencia. Costa Rica lo ha hecho bien, pero <br /> debe hacerlo mucho mejor en el futuro en <br /> estos campos.<br /><br /> La convergencia <br /> tecnológica nos impone el reto de la inclusión <br /> digital, la ampliación de los accesos a internet <br /> y la banda ancha, que son los vehículos de <br /> acceso al aprendizaje y a las nuevas formas <br /> de hacer negocios e interactuar como <br /> ciudadanos en sociedad. Nuevas carreras y <br /> nuevas profesiones se abrirán espacio en un <br /> mundo donde la formación bilingüe y las <br /> competencias para aprender resultan <br /> fundamentales.<br /><br /><br />-----------------------------------------------------------------------------<br /><br />Otto Guevara Guth del Movimiento Libertario<br /><br />En la página del MV aparecen 4 apartados principales:<br />1. Generación de Empleo<br />2. Hacer que la plata alcance<br />3. Contra la corrupción<br />4. Otras propuestas<br /><br />En general aparece todo lo siguiente:<br /><br /> 1.14 INNOVACIÓN Y DESARROLLO TECNOLÓGICO. En los mercados mundiales, y también en el nacional, los empresarios compiten cada vez más basados en desarrollo de productos y servicios innovadores. Según los datos del Banco Central, en solo “software” los productores costarricenses exportaron en el año 2000 la suma de $28 millones, suma que ascendió a $370 millones en el 2012. Como vemos, la venta de “software” se está convirtiendo poco a poco en el café del siglo XXI para Costa Rica. Sobre esta materia, aparte de todos los puntos mencionados anteriormente que tienen relación con el desarrollo de emprendimientos competitivos, propongo lo siguiente:<br /><br /> 1.14.1 Promover un Sistema Nacional de Innovación que aglutine y coordine los esfuerzos de distintos entes en esta materia.<br /><br /> 1.14.2 Incentivar la innovación y el desarrollo tecnológico de las empresas. Debemos explorar qué tipo incentivos para la investigación, desarrollo e innovación son utilizados de forma exitosa en otros países, y adaptarlos a nuestra legislación. Mientras identificamos esos incentivos y los incorporamos a nuestra legislación, propongo que vayamos adelantando en los siguientes: <br /><br /> 1.14.3 Aprobar Ley de fomento de incubadoras de empresas tecnológicas. Mediante esta Ley se pretende fomentar la creación y la expansión de las incubadoras de empresas tecnológicas, en las cuales se desarrollen proyectos de investigación científica, desarrollos tecnológicos y se diseñen procesos de innovación productiva de contenido tecnológico. Yo en el pasado se intentó legislar en ese sentido mediante el proyecto de ley #17.225, el cual fue archivado al cumplirse el plazo cuatrienal. El proyecto deberá presentarse nuevamente incorporando las observaciones que se hicieron al anterior.<br /><br /> 1.2.9 Promover sistema de “dinero móvil” o “banca móvil”. Persuadir a los bancos, y ajustar la normativa, para posibilitar la utilización de “dinero móvil” para pagar todo tipo de servicios, incluido el transporte público, hacer compras y transferencias mediante el servicio de mensajería de texto (sms) de un teléfono celular. Este sistema permitirá “bancarizar” a una gran cantidad de personas que hoy están fuera del sistema financiero nacional. Un ejemplo exitoso de la utilización de este sistema lo podemos ver en Kenia mediante el software denominado M-PESA, el cual tiene más de 5 años de estar en funcionamiento. <br /><br /> 1.1.1.4 Hacer uso de tecnologías de información en los procesos de solicitudes, autorizaciones, permisos, y trámites en general ante la administración pública, lo que permitirá agilizar los procesos y disminuir la discrecionalidad y la corrupción.<br /><br /> 1.3.5 Familiarizar a los estudiantes de escuelas y colegios públicos con la tecnología. El analfabetismo tecnológico le cierra oportunidades a las personas que aspiran a obtener un trabajo bien remunerado, o a aquellas que desean emprender. Para ello es indispensable desarrollar el programa propuesto desde la campaña política pasada de entregar a cada niño en edad escolar una computadora portátil o dispositivo personal, lo mismo que a sus profesores. Para ello se requerirá también conectar a todas las escuelas y colegios del país a internet de banda ancha de doble vía. Dichosamente tenemos los recursos para ese proyecto, ya que el FONATEL asciende a un poco más de 215 millones de dólares. Si se requiriere de una reforma legal para poder utilizar parte de esos recursos para ese programa, estoy seguro que dicho proyecto de ley sería aprobado por la Asamblea Legislativa en forma muy expedita. En la sección de Mejorar la Calidad de Educación Pública, en el punto 5 de mis propuestas, me refiero con mayor profundidad a esta propuesta. <br /><br /> 5.6.2 Dotar de una computadora personal o dispositivo móvil a cada niño y niña en edad escolar, así como a sus docentes, en las escuelas públicas. Eso lo haremos a través de los recursos de FONATEL; parte de los recursos del presupuesto nacional que se transfieren a la Fundación Omar Dengo; y los de otras organizaciones no gubernamentales como la Fundación Quirós Tanzi o empresas que a través de sus programas de responsabilidad social corporativa deseen coadyuvar con el proyecto. Otras organizaciones como la Fundación Paniamor podría poner “su grano de arena” con niños y niñas en desventaja. <br /><br /> La experiencia en Uruguay sobre este tema, y de muchos otros países, ha sido sumamente exitosa. Fue promovida por el entonces presidente de Uruguay Tabaré Vázquez, y se conoce como “Plan Ceibal” (“Conectividad Educativa de Informática Básica para el Aprendizaje en Línea”). Dicho programa ha sido pionero en el uso masivo de tecnologías móviles en educación. Es un proyecto socioeducativo desarrollado conjuntamente entre el Ministerio de Educación y Cultura, el Laboratorio Tecnológico del Uruguay, la Administración Nacional de Telecomunicaciones y la Administración Nacional de Educación Pública. La experiencia de Uruguay muestra que el costo de cada unidad portátil oscila entre $100 y $200 por cada una de ellas incluyendo el “software” educativo. Existen por otro lado, otros dispositivos móviles para conexión a internet, como las tabletas, cuyo precio es inferior a los $75. Lo importante es que cada estudiante tenga su propio dispositivo con capacidad para navegar eficientemente en internet, y correr programas educativos.<br /><br /> 5.6.3 Promover la adquisición de una computadora personal o dispositivo móvil de interconexión, comunicación y colaboración por persona, para estudiantes de colegio y sus docentes. Estos dispositivos son esenciales hoy en día para el proceso de aprendizaje. Para facilitar la adquisición de computadoras personales portátiles, éstas deberán exonerarse del pago de la totalidad de los impuestos.<br /><br /> 5.6.4 Utilización de herramientas multimedia. Se promoverá la formación y capacitación de los y las docentes de país para que utilicen las tecnologías digitales (incluyendo Internet) para promover en sus estudiantes un aprendizaje significativo; la comunicación e interconexión; la creatividad; la innovación y la investigación.<br /><br /> 5.3.13 Educación virtual. La conexión de todos los centros educativos a internet de banda ancha, permitirá que los estudiantes puedan contar como parte de su proceso de aprendizaje con clases magistrales de profesores de calidad mundial sobre ciertos temas. Ver más sobre este tema en la sección 5.6.<br /><br /> 6.1.2 Implementar el expediente digital de salud. La puesta en marcha del expediente electrónico único no debe esperar más. La CCSS ha gastado millones de dólares en tratar de desarrollar el software para ello, cuando el “agua tibia está inventada hace rato”. Lo que se requiere es conectar de inmediato todos los centros de salud (EBAISs, clínicas y hospitales) a internet de banda ancha, y ubicar el expediente médico digital en “la nube”. El software para ese expediente podría obtenerse mediante convenios de cooperación con otros países en donde dicho expediente digital funciona hace años. La Asamblea Legislativa aprobó recientemente un proyecto de ley propuesto por el diputado libertario Carlos Gutiérrez, el cual le pone un plazo máximo de 5 años a la puesta en operación del expediente digital. Es innegable el ahorro en recursos que tendría la institución, así como la reducción de los plazos para la atención de los asegurados.<br /><br /> 6.1.3 Poner en práctica sistema de citas por teléfono o internet. La cantidad de tiempo que pierden las personas para sacar una cita, la forma en que son tratadas (como si les estuvieran regalando un servicio), y el uso ineficiente de los EBAIS y clínicas es algo inaceptable en nuestro sistema de salud. Si para llevar el carro a revisión técnica con el odioso monopolio de RITEVE se saca la cita por teléfono, no es posible que las autoridades de la CCSS no hayan podido desarrollar un sistema para el otorgamiento de citas por teléfono, haciendo un mejor uso de toda la infraestructura de salud. <br /><br /> 16.10.4 Modernizar servicio exterior mediante tecnologías de información. Impulsar la modernización del servicio exterior, consular y notarial, mediante el uso intensivo de Tecnologías de Información y Comunicación para que su prestación sea sin dilación ni mayor costo.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-51340735924539322552013-12-07T14:14:00.004-06:002013-12-07T14:14:59.446-06:00To reverse engineer, un verbo compuesto<span style="font-family: Arial,Helvetica,sans-serif;">Me costaba trabajo leer algunos papers, porque venían frases como la siguiente:</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">"...A dynamic crawler is used to reverse engineer a model of the app..."</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">Yo lo que leía era, un crawler dinámico es usado para ingeniería a la inversa un modelo de la aplicación, pues obviamente no tiene ningún significado. El verdadero significado es</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">"Un crawler dinámico es usado para, practicando ingeniería a la inversa , crear un modelo de la aplicación "</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">No es tan tan fácil, pero tampoco está tan dificil una vez sabiéndolo interpretar.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-13833148603211438912013-12-04T00:54:00.000-06:002013-12-04T00:55:21.145-06:00He terminado la página web de ObDeTUR (Observatorio de Desarrollo Turístico)<span style="font-family: Arial,Helvetica,sans-serif;">Este semestre tuve que aprender muchas cosas que no sabía. Aprendí muchas cosas en poco tiempo.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">Una de las cosas que hace tiempo quería hacer, era usar un Framework. </span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">Mi primera experiencia con un Framework fue a inicios de Enero del 2013 (el año actual), y hasta realicé una serie de tutoriales:</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://www.blogger.com/">Tutoriales de Ruby on Rails</a></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br />Siempre me llamó la atención el nombre de esta carajada, así que me puse a ver que era y me gustó.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">Sin embargo lo encontré muy engorroso de usar.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">Luego entré al TEC en el segundo semestre, y aprendí el poder de los Framework, esta vez con CodeIgniter. </span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">Aprendí a realizar servicios web en CodeIgniter, y a extraer información de una base de datos que está online, a través del lenguaje Java, para aplicaciones Android.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">A principios del semestre también comencé junto con una compañera de carrera una página</span><br />
<div style="text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://obdetur.com/"><span style="font-size: large;">http://obdetur.com/</span></a></span></div>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">Esta página está relacionada con el turismo. Fue un proyecto muy interesante, y lo desarrollamos usando dicho Framework. Con todo el semestre casi no nos daba tiempo para trabajar, pero en la última semana hicimos bastantes cosas que faltaban.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">Les resultará interesante CodeIgniter.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<br />
<div style="text-align: center;">
<br />
<img alt="http://i.imgur.com/sgdlxkB.jpg" class="decoded overflowing" src="http://i.imgur.com/sgdlxkB.jpg" /></div>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-4370834389736831432013-12-04T00:45:00.001-06:002013-12-07T12:57:51.747-06:004 sistemas operativos en mi casa<span style="font-family: Arial, Helvetica, sans-serif;">Estoy felíz. xD.</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Estoy viejo, tengo 26 años, pero me siento como un carajillo esta navidad. Lleno de juguetes por todas partes. </span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">En estos momentos estoy con 4 sistemas operativos. Tengo mi laptop con Microsoft Windows 8, y una MacBook Pro con iOS. En la Mac tengo VirtualBox corriendo con Ubuntu.</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Y tengo mi tablet con Android.</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Todos estos sistemas operativos, son ejemplos del ingenio de los seres humanos.</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Un sistema operativo es algo impresionante, un conjunto de tecnologías de software adaptadas a piezas específicas de hardware.</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Por otra parte, está este impresionante concepto de Máquinas Virtuales, cuyo funcionamiento interno es todavía un misterio para mí.</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Quedan muchas cosas por aprender, espero poder estar a la altura. </span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-80161502328194858412013-12-03T10:02:00.001-06:002013-12-03T10:03:06.181-06:00Lista de programas que quiero probarMe gustaría tener la oportunidad de poder probar todos los siguientes programas:<br />
<br />
Crawljax<br />
Android-GUITAR<br />
WebMate<br />
ICrawler<br />
Android Monkey Tool<br />
M[agi]C Tool<br />
<br />
Todas ellas mencionadas en la sección <b>Related Work</b> del paper<b> A Grey-box Aproach for Automated GUI-Model Generation of Mobile Applications</b>.<br />
<br />
Estoy trabajando en un proyecto cuyo objetivo es automatizar las escritura de pruebas apps de dispositivos móviles. Estamos iniciando con el sistema operativo Android.<br />
<br />
Si quiere ver todo lo relacionado con este proyecto lo pueden revisar en:<br />
<a href="http://gmendezm.blogspot.com/search/label/Automatizaci%C3%B3n%202014">Categorías >> Automatización 2014</a> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-53779228889841834932013-11-08T20:52:00.001-06:002013-11-08T20:52:09.156-06:00Rootear tu AndroidHace tiempo estaba intentando rootear mi dispositivo Android. Es una tablet china, y al mismo tiempo un teléfono.<br />
<br />
Instalé el programa <b>Framaroot-1.6.0.apk</b><br />
<br />
Esto me permitió acceder como superusuario y tener el control total de todas mis aplicaciones. Ahora pude liberar espacio de almacenamiento que anteriormente no podía.<br />
<b> </b><br />
Luego les contaré qué otras cosas pude hacer gracias a haber rooteado la tablet. Soy bien noobster con estas cosas.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-53644084344461339472013-11-06T22:05:00.002-06:002013-11-06T22:13:46.699-06:00Desde la creación del sitioHola, tanto tiempo!!<br />
<br />
Pasaron muchas cosas. La última entrada que había dejado en el sitio, contaba que había creado un sitio web: <a href="http://gmendezm.blogspot.com/2013/03/mi-sitio-web.html">http://gmendezm.blogspot.com/2013/03/mi-sitio-web.html</a><br />
<br />
Lo que pasó después de eso, fue lo siguiente. Comencé a diseñar el sitio, que tardó 3 semanas en completarse. Usé todo el conocimiento que tenía hasta ese entonces. Incluída las siguientes tecnologías:<br />
1. HTML5<br />
2. CSS3<br />
3. Javascript (JQuery, JSon, Scripts Third-Party)<br />
4. XML (Para la sindicación RSS)<br />
5. PHP<br />
6. Diseño gráfico (Algunas mañas que me sabía)<br />
<br />
Comencé a llenar el sitio con información sobre lo aprendido en la universidad. Coloqué los <a href="http://www.youtube.com/user/gmendezm/videos">videotutoriales</a> que hice durante inicios del 2013.<br />
<br />
Desarrollé una aplicación para buscar estudiantes y la añadí al sitio. Tuve un problema con la universidad por que se publicaba información de los estudiantes. Recibí felicitaciones y amenazas por igual. Al final desactivé el buscador y comencé a trabajar en otros proyectos.<br />
<br />
Ingresé a la universidad nuevamente después de estar fuera por un semestre.<br />
<br />
Hoy, estoy terminando el semestre. Solo pude llevar 3 cursos.<br />
<br />
Este semestre me ha traído cosas muy interesantes. Tengo los pies en la tierra más que nunca.<br />
<br />
En cuánto a lo académico, estoy haciendo investigación este año y el siguiente sobre Aseguramiento de la Calidad. Más adelante escribiré un poco sobre mi trabajo en cuanto a lo que he ido aprendiendo.<br />
<br />
Otra vara que me gustó es que aprendí a usar el Framework CodeIgniter, con el que ya tengo un nivel como para ser capaz de reescribir mi sitio completamente usando dicho framework (el sitio lo escribií sin frameworks, "a pie").<br />
<br />
También estuve trabajando en una aplicación que trabaja con mapas de Google.<br />
<br />
Tuve que matricular un estúpido curso de dibujo que no tiene nada que ver con mi carrera. Lo odio :)<br />
<br />
De mi carrera solamente estoy llevando 2 cursos: Probabilidades y Programación Orientada a Objetos.<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-22370739236329738142013-03-26T03:08:00.001-06:002013-03-26T03:13:39.330-06:00Mi sitio webTengo un sitio web, todavía está vacío, pero seguramente voy a migrar la mayoría de cosas que tengo en este blog.<br />
<br />
Mi sitio web es <a href="http://www.gmendezm.com/">http://www.gmendezm.com/</a> espero entretenerme mucho desarrollandolo un poco más a fondo.<br />
<br />
También tengo un canal en Youtube donde estoy colocando una serie de videotutoriales (hechos por mi). El canal es <a href="http://www.youtube.com/user/gmendezm/">http://www.youtube.com/user/gmendezm/</a><br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-24294984149500262402013-03-13T12:41:00.000-06:002013-03-13T12:41:49.537-06:00Mi aplicación gUpDrive fue admitida en Softonic<br />
<br />
Hace unos días publiqué mi aplicación gUpDrive para subir imágenes a Google Drive, y pensé en registrarla en varios sitios, entre ellos CNET y Softonic, y otros portales donde se pueden compartir las aplicaciones.<br />
<br />
Hace poco me llegó la notificación de que mi aplicación ha sido admitida en Softonic:<br />
<a href="http://www.blogger.com/goog_735002751"><br /></a>
<a href="http://gupdrive.softonic.com/">http://gupdrive.softonic.com</a><br />
<br />
<div style="text-align: center;">
<img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g13.png" class="decoded" src="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g13.png" /></div>
<br />
Es un portal famoso donde se comparte mucho software gratuito y tuve que seguir una serie de procedimientos para que pudiera ser publicada, y al final se pudo realizar exitosamente.<br />
<br />
Solo tengo que actualizar el sistema operativo y cambiarlo a Windows porque no viene multiplataforma y me sale como que es para Java2ME (Para teléfonos) lo cual no es así, por lo que he enviado la solicitud para dicho cambio.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-37675897227580604082013-03-06T23:58:00.001-06:002013-03-06T23:58:37.125-06:00Videotutorial de Android 2013 en Español<div style="text-align: center;">
<img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g12.png" class="decoded" src="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g12.png" /><br /><br />Videotutorial de Android</div>
<br />
<br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/0.1.%20Instalar%20Java%20JDK.mp4" rel="nofollow" target="_blank">0.1. Instalar Java JDK.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/0.2.%20Descargar%20Eclipse.mp4" rel="nofollow" target="_blank">0.2. Descargar Eclipse.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/0.3.%20Instalar%20Android%20ADT%20en%20Eclipse.mp4" rel="nofollow" target="_blank">0.3. Instalar Android ADT en Eclipse.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/0.4.%20Descargar%20Android%20SDK.mp4" rel="nofollow" target="_blank">0.4. Descargar Android SDK.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/0.5.%20Crear%20y%20correr%20emulador%20Android.mp4" rel="nofollow" target="_blank">0.5. Crear y correr emulador Android.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/01.%20Introducci%C3%B3n.%20Crear%20proyecto%20Android.mp4" rel="nofollow" target="_blank">01. Introducción. Crear proyecto Android.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/02.%20Interfaz%20de%20Usuario%20TextView,%20Button.mp4" rel="nofollow" target="_blank">02. Interfaz de Usuario TextView, Button.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/03.%20Declarar%20TextView%20y%20Button%20en%20Java.mp4" rel="nofollow" target="_blank">03. Declarar TextView y Button en Java.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/04.%20OnClickListener%20y%20Variables%20Java.mp4" rel="nofollow" target="_blank">04. OnClickListener y Variables Java.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/05.%20Background%20%28Fondo%20de%20Pantalla%29%3E05.%20Background%20%28Fondo%20de%20Pantalla%29%3C/a%3E%3Cbr%20/%3E%3Ca%20href=" rel="nofollow" target="_blank">06. ImageView (Imagen).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/07.%20ScrollView%20y%20HorizontalScrollView.mp4" rel="nofollow" target="_blank">07. ScrollView y HorizontalScrollView.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/08.%20Mas%20de%20ScrollView,%20HorizontalScrollView.mp4" rel="nofollow" target="_blank">08. Mas de ScrollView, HorizontalScrollView.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/09.%20Implementar%20OnClickListener%20en%20la%20Clase.mp4" rel="nofollow" target="_blank">09. Implementar OnClickListener en la Clase.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/10.%20Switch%20y%20Case.mp4" rel="nofollow" target="_blank">10. Switch y Case.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/11.%20AndroidManifest.mp4" rel="nofollow" target="_blank">11. AndroidManifest.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/12.%20Permisos%20%28Wallpaper%29.mp4" rel="nofollow" target="_blank">12. Permisos (Wallpaper).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/13.%20Toast%20%28Mensaje%20en%20Pantalla%29.mp4" rel="nofollow" target="_blank">13. Toast (Mensaje en Pantalla).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/14.%20EditText.mp4" rel="nofollow" target="_blank">14. EditText.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/15.%20Convertir%20Variable%20String%20a%20Int.mp4" rel="nofollow" target="_blank">15. Convertir Variable String a Int.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/16.%20If%20y%20else%20%28Condicionales%29.mp4" rel="nofollow" target="_blank">16. If y else (Condicionales).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/17.%20Crear%20nuevo%20XML.mp4" rel="nofollow" target="_blank">17. Crear nuevo XML.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/18.%20Intents.mp4" rel="nofollow" target="_blank">18. Intents.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/19.%20Crear%20nueva%20Clase%20%28Activity%29.mp4" rel="nofollow" target="_blank">19. Crear nueva Clase (Activity).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/20.%20Crear%20nueva%20Activity%20en%20el%20Manifest.mp4" rel="nofollow" target="_blank">20. Crear nueva Activity en el Manifest.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/21.%20Bundles.mp4" rel="nofollow" target="_blank">21. Bundles.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/22.%20Random%20%28Aleatorio%29.mp4" rel="nofollow" target="_blank">22. Random (Aleatorio).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/23.%20Layout%20Weight%20y%20Gravity.mp4" rel="nofollow" target="_blank">23. Layout Weight y Gravity.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/24.%20MediaPlayer%20%28Audio,%20Sonido%29.mp4" rel="nofollow" target="_blank">24. MediaPlayer (Audio, Sonido).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/25.%20SoundPool%20%28Audio,%20Sonido%29.mp4" rel="nofollow" target="_blank">25. SoundPool (Audio, Sonido).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/26.%20Toggle%20Button%20%28Bot%C3%B3n%29.mp4" rel="nofollow" target="_blank">26. Toggle Button (Botón).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/27.%20OnCheckedChangeListener.mp4" rel="nofollow" target="_blank">27. OnCheckedChangeListener.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/28.%20RadioGroup%20y%20Radio%20Buttons%20%28B.%20Radio%29.mp4" rel="nofollow" target="_blank">28. RadioGroup y Radio Buttons (B. Radio).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/29.%20RadioGroup%20OnCheckedChangeListener.mp4" rel="nofollow" target="_blank">29. RadioGroup OnCheckedChangeListener.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/30.%20ListView%20%28Listas%29.mp4" rel="nofollow" target="_blank">30. ListView (Listas).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/31.%20ArrayList%20y%20ArrayAdapter.mp4" rel="nofollow" target="_blank">31. ArrayList y ArrayAdapter.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/32.%20Spinner.mp4" rel="nofollow" target="_blank">32. Spinner.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/33.%20OnItemSelectListener.mp4" rel="nofollow" target="_blank">33. OnItemSelectListener.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/34.%20Crear%20M%C3%A9todos.mp4" rel="nofollow" target="_blank">34. Crear Métodos.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/35.%20WebView%20%28Navegador%29.mp4" rel="nofollow" target="_blank">35. WebView (Navegador).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/36.%20WebView%20M%C3%A9todos.mp4" rel="nofollow" target="_blank">36. WebView Métodos.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/37.%20WebView%20Client.mp4" rel="nofollow" target="_blank">37. WebView Client.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/38.%20Mas%20de%20WebView.mp4" rel="nofollow" target="_blank">38. Mas de WebView.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/39.%20SQLite%20%28Base%20de%20Datos%29.mp4" rel="nofollow" target="_blank">39. SQLite (Base de Datos).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/40.%20SQLiteOpenHelper%20M%C3%A9todos.mp4" rel="nofollow" target="_blank">40. SQLiteOpenHelper Métodos.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/41.%20Crear%20Base%20de%20Datos.mp4" rel="nofollow" target="_blank">41. Crear Base de Datos.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/42.%20Abrir%20SQLite.mp4" rel="nofollow" target="_blank">42. Abrir SQLite.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/43.%20Cerrar%20SQLite.mp4" rel="nofollow" target="_blank">43. Cerrar SQLite.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/44.%20TabHost.mp4" rel="nofollow" target="_blank">44. TabHost.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/45.%20Declarar%20TabHost.mp4" rel="nofollow" target="_blank">45. Declarar TabHost.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/46.%20Insertar%20Iconos%20en%20TabHost.mp4" rel="nofollow" target="_blank">46. Insertar Iconos en TabHost.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/47.%20Insertar%20Fondo%20en%20TabHost.mp4" rel="nofollow" target="_blank">47. Insertar Fondo en TabHost.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/48.%20Reloj%20An%C3%A1logo.mp4" rel="nofollow" target="_blank">48. Reloj Análogo.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/49.%20Personalizar%20Botones.mp4" rel="nofollow" target="_blank">49. Personalizar Botones.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/50.%20Tiempo%20%28M%C3%A9todo%20Time%29.mp4" rel="nofollow" target="_blank">50. Tiempo (Método Time).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/51.%20Actualizar%20Pantalla%20%28Runnable%29.mp4" rel="nofollow" target="_blank">51. Actualizar Pantalla (Runnable).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/52.%20Notification%20Manager%20%28Notificaci%C3%B3n%29.mp4" rel="nofollow" target="_blank">52. Notification Manager (Notificación).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/53.%20Notification%20%28Notificaci%C3%B3n%29.mp4" rel="nofollow" target="_blank">53. Notification (Notificación).mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/54.%20Notificaci%C3%B3n%20Final.mp4" rel="nofollow" target="_blank">54. Notificación Final.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/55.%20OnKeyListener.mp4" rel="nofollow" target="_blank">55. OnKeyListener.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/56.%20SimpleCursorAdapter%20-SQLite_%20ListView.mp4" rel="nofollow" target="_blank">56. SimpleCursorAdapter -SQLite_ ListView.mp4</a><br />
<a href="https://googledrive.com/host/0B_pYbvdJLZuASGYzMWVGZHBXeUE/57.%20Orientaci%C3%B3n%20de%20Pantalla%20%28Layout-land%29.mp4" rel="nofollow" target="_blank">57. Orientación de Pantalla (Layout-land).mp4</a><br />
<br /><br />
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-2965431919898311135.post-9197473026464488322013-03-06T19:08:00.001-06:002013-03-06T19:11:41.870-06:00Códigos JQuery: Animaciones (Parte 1)Existen una serie de códigos ya hechos para que los programadores los podamos usar. Pueden ser a modo de librerías (plugins, complementos, addons, third-party, libraries, etc) o Frameworks para facilitarnos la tarea de programación.<br />
<br />
En el caso de Javascript tenemos la librería JQuery. A su vez, la librería JQuery tiene JQuery Mobile y JQuery UI. Y jQuery UI tiene a su vez plugins.<br />
<br />
Y esos plugins son los que voy a mencionar a continuación.<br />
<br />
<div style="text-align: center;">
SCROLLORAMA</div>
<br />
<div style="text-align: center;">
<img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g4.png" class="decoded" src="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g4.png" /> </div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
Este plugin tiene unos efectos impresionantes de animaciones para transformar texto, entre otras cosas.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Scrollorama: <a href="http://johnpolacek.github.com/scrollorama/">http://johnpolacek.github.com/scrollorama/ </a></div>
<div style="text-align: left;">
Super Scrollorama: <a href="http://johnpolacek.github.com/superscrollorama/">http://johnpolacek.github.com/superscrollorama/</a> </div>
<div style="text-align: center;">
</div>
<br />
<div style="text-align: center;">
NUBE DE TAGS</div>
<br />
<div style="text-align: center;">
<img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g5.png" src="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g5.png" /></div>
<br />
<br />
Conforme mueves el mouse se crea un efecto de tags moviéndose dentro de una esfera. Los tags son las categorías de un sitio que permiten taxonomizar los post.<br />
<br />
Nube de tags : <a href="http://www.goat1000.com/tagcanvas.php">http://www.goat1000.com/tagcanvas.php</a><br />
<br />
<div style="text-align: center;">
STELLAR BACKGROUND</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g6.png" src="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g6.png" /></div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
Stellar Background permite moverse a través de una serie de transiciones con una movilidad bastante interesante y atractiva: <a href="http://markdalgleish.com/projects/stellar.js/demos/backgrounds.html">http://markdalgleish.com/projects/stellar.js/demos/backgrounds.html</a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
Stellar: <a href="http://markdalgleish.com/projects/stellar.js/demos/">http://markdalgleish.com/projects/stellar.js/demos/</a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
ZOOMOOZ </div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g7.png" class="decoded" src="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g7.png" /></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
Al dar click en un elemento de la página que está en cierto ángulo, toda la página se voltea de forma impresionante, haciendo énfasis en el objeto clickeado.<br />
<br />
Zoomooz: <a href="http://janne.aukia.com/zoomooz/">http://janne.aukia.com/zoomooz/</a><br />
<br />
<div style="text-align: center;">
SHAPPERSHIFT</div>
<br />
<br />
<div style="text-align: center;">
<img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g8.png" src="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g8.png" /></div>
<br />
Se pueden arrastrar y soltar objetos con animaciones adicionales.<br />
<br />
Shappershift Demo: <a href="http://mcpants.github.com/jquery.shapeshift/">http://mcpants.github.com/jquery.shapeshift/</a><br />
Descarga: <a href="https://github.com/McPants/jquery.shapeshift">https://github.com/McPants/jquery.shapeshift</a><br />
<br />
<div style="text-align: center;">
LAZY LINE PAINTER</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g9.png" src="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g9.png" /></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
Comienza a dibujar de forma animada el contenido de una imágen SVG.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Lazy Line Painter: <a href="http://lazylinepainter.info/">http://lazylinepainter.info/</a></div>
<br />
<br />
<div style="text-align: center;">
JCANVAS</div>
<br />
<div style="text-align: center;">
<img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g10.png" class="decoded" src="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g10.png" /></div>
<br />
Permite manipular el Canvas de HTML5 de forma más fácil a através de JQuery.<br />
<br />
<br />
jCanvas Demo: <a href="http://calebevans.me/projects/jcanvas/sandbox/">http://calebevans.me/projects/jcanvas/sandbox/</a><br />
Descarga: <a href="http://calebevans.me/projects/jcanvas/downloads/">http://calebevans.me/projects/jcanvas/downloads/</a><br />
<br />
<div style="text-align: center;">
KWICKS</div>
<br />
<div style="text-align: center;">
<img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g11.png" src="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g11.png" /></div>
<br />
Permite colocar elementos en fila y moverlos con un evento hover<br />
<br />
Descarga: <a href="http://devsmash.com/projects/kwicks/1.5.1/examples/simple">http://devsmash.com/projects/kwicks/1.5.1/examples/simple</a><br />
<br />
Después colocaré otros ejemplos que son bastantes interesantes.<br />
<br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-16402751117668896362013-03-05T22:27:00.000-06:002013-03-06T00:45:25.393-06:00gUpDrive
<div class="WordSection1">
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g1.png"><span style="color: windowtext; mso-fareast-language: ES-CR; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;"><img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g1.png" border="0" height="267" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image002.png" width="703" /></span></span></a><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g0.png"><span style="color: windowtext; mso-fareast-language: ES-CR; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;"><img alt="https://googledrive.com/host/0ByHNZrr2HZ4nRTJGMGdPdGJiNWs/g0.png" border="0" height="698" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image003.jpg" width="1000" /></span></span></a><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-size: 20.0pt;"><iframe width="853" height="480" src="http://www.youtube.com/embed/grBnp67pXMA" frameborder="0" allowfullscreen></iframe></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;">Web del proyecto <a href="http://gmendezm.blogspot.com/2013/03/gupdrive.html">http://gmendezm.blogspot.com/2013/03/gupdrive.html</a></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;">Descarga de
gUpDrive: <a href="https://googledrive.com/host/0ByHNZrr2HZ4nOUNCck00NmxJQlk/gUpDrive.zip">Enlace
de descarga</a> (Comprimido en zip)</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;">Tutorial/Manual
de cómo usarlo</span></div>
<div class="MsoNoSpacing" style="margin-left: 72.0pt; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; font-size: 20.0pt; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;"><a href="http://www.youtube.com/watch?v=grBnp67pXMA">Videotutorial
con información sobre su uso, y algunos detalles técnicos</a></span></div>
<div class="MsoNoSpacing" style="margin-left: 72.0pt; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; font-size: 20.0pt; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;"><a href="#manual">Manual con fotografías</a></span></div>
<div class="MsoNoSpacing" style="margin-left: 108.0pt; mso-list: l0 level3 lfo1; text-indent: -18.0pt;">
<span style="font-family: Wingdings; font-size: 20.0pt; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;"><a href="#portapapeles">Subir desde el portapapeles</a></span></div>
<div class="MsoNoSpacing" style="margin-left: 108.0pt; mso-list: l0 level3 lfo1; text-indent: -18.0pt;">
<span style="font-family: Wingdings; font-size: 20.0pt; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;"><a href="#dragdrop">Subir con Drag & Drop</a></span></div>
<div class="MsoNoSpacing" style="margin-left: 108.0pt; mso-list: l0 level3 lfo1; text-indent: -18.0pt;">
<span style="font-family: Wingdings; font-size: 20.0pt; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;"><a href="#listas">Opciones
de listas</a></span></div>
<div class="MsoNoSpacing" style="margin-left: 108.0pt; mso-list: l0 level3 lfo1; text-indent: -18.0pt;">
<span style="font-family: Wingdings; font-size: 20.0pt; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;"><a href="#redessociales">Compartir en redes sociales</a></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;">Aplicación,
Detalles Básicos</span></div>
<div class="MsoNoSpacing" style="margin-left: 72.0pt; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; font-size: 20.0pt; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><b style="mso-bidi-font-weight: normal;"><span style="font-size: 20.0pt;">Nombre:</span></b><span style="font-size: 20.0pt;"> gUpDrive</span></div>
<div class="MsoNoSpacing" style="margin-left: 72.0pt; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; font-size: 20.0pt; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><b style="mso-bidi-font-weight: normal;"><span style="font-size: 20.0pt;">Versión:</span></b><span style="font-size: 20.0pt;"> 1.0</span></div>
<div class="MsoNoSpacing" style="margin-left: 72.0pt; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; font-size: 20.0pt; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><b style="mso-bidi-font-weight: normal;"><span style="font-size: 20.0pt;">Licencia:</span></b><span style="font-size: 20.0pt;"> Libre, Gratuita, Código Cerrado (Por el momento).</span></div>
<div class="MsoNoSpacing" style="margin-left: 72.0pt; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; font-size: 20.0pt; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><b style="mso-bidi-font-weight: normal;"><span style="font-size: 20.0pt;">Objetivo
Principal:</span></b><span style="font-size: 20.0pt;"> Subir imágenes fácilmente
a Google Drive de manera eficiente.</span></div>
<div class="MsoNoSpacing" style="margin-left: 72.0pt; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; font-size: 20.0pt; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Objetivos Secundarios</span></div>
<div class="MsoNoSpacing" style="margin-left: 108.0pt; mso-list: l0 level3 lfo1; text-indent: -18.0pt;">
<span style="font-family: Wingdings; font-size: 20.0pt; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;">Subir archivos
desde el portapapeles</span></div>
<div class="MsoNoSpacing" style="margin-left: 108.0pt; mso-list: l0 level3 lfo1; text-indent: -18.0pt;">
<span style="font-family: Wingdings; font-size: 20.0pt; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;">Subir archivos
desde el disco duro usando el evento Drag & Drop</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;">Desarrollo</span></div>
<div class="MsoNoSpacing" style="margin-left: 72.0pt; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; font-size: 20.0pt; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;"><a href="#interfazgrafica">Interfaz gráfica</a></span></div>
<div class="MsoNoSpacing" style="margin-left: 72.0pt; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; font-size: 20.0pt; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;"><a href="#programacionenjava">Programación del
proyecto en Java</a></span></div>
<div class="MsoNoSpacing" style="margin-left: 72.0pt; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; font-size: 20.0pt; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;"><a href="#desarrollador">Otros proyectos del
desarrollador</a></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt;"><a href="#licencia">Licencia</a></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="20" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image004.png" width="936" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="manual"><b style="mso-bidi-font-weight: normal;"><span style="font-size: 20.0pt;">Manual con
fotografías</span></b></a></div>
<span style="mso-bookmark: manual;"></span>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-size: 20.0pt;">A continuación se muestran una serie de
características del programa.</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="20" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image004.png" width="936" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="portapapeles"><b style="mso-bidi-font-weight: normal;"><span style="font-size: 20.0pt;">Subir desde el Portapapeles</span></b></a></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<span style="mso-bookmark: portapapeles;"></span>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-insideh: none; mso-border-insidev: none; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="padding: 0cm 5.4pt 0cm 5.4pt;" valign="top">
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="187" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image005.png" width="166" /></span><span style="font-size: 20.0pt;"></span></div>
</td>
<td style="padding: 0cm 5.4pt 0cm 5.4pt;" valign="top">
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">El portapapeles o
Clipboard, es un espacio de la memoria del computador que la plataforma (es
decir el sistema operativo) almacena todo tipo de datos.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Algunos tipos datos son:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l5 level1 lfo2; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Texto</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l5 level1 lfo2; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Archivos</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l5 level1 lfo2; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Imágenes</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l5 level1 lfo2; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">4.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Contenido Multimedia</span></div>
<div class="MsoNoSpacing">
<br /></div>
</td>
</tr>
</tbody></table>
</div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">gUpDrive revisa el portapapeles
y verifica si hay un formato de imagen que pueda ser subido.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Algunos formatos son:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l3 level1 lfo3; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">JPG</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l3 level1 lfo3; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">JPEG</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l3 level1 lfo3; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">PNG</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l3 level1 lfo3; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">4.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">GIF</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l3 level1 lfo3; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">5.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">BMP</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Los más livianos suelen
ser los GIF destinados a las animaciones con baja capacidad de colores.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Luego están los archivos
JPG y JPEG, y los más pesados suelen ser los PNG y BMP.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">gUpDrive permite <span style="mso-spacerun: yes;"> </span>subir cualquiera de estos 4 tipos de archivos.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">En caso de que el
portapapeles no contenga imágenes, no se subirá ningún archivo.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="20" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image004.png" width="936" /></span><span style="font-size: 20.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="dragdrop"><b style="mso-bidi-font-weight: normal;"><span style="font-size: 20.0pt;">Subir con
Drag & Drop</span></b></a></div>
<span style="mso-bookmark: dragdrop;"></span>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-insideh: none; mso-border-insidev: none; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="padding: 0cm 5.4pt 0cm 5.4pt; width: 148.45pt;" valign="top" width="198">
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="191" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image006.png" width="166" /></span><span style="font-size: 20.0pt;"></span></div>
</td>
<td style="padding: 0cm 5.4pt 0cm 5.4pt; width: 27.0cm;" valign="top" width="1021">
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Tanto los programas como
los sistemas operativos tienen eventos. gUpDrive comparte eventos entre la
aplicación y el sistema operativo. Al arrastrar archivos desde el sistema
operativo, el programa los recibe como parámetros y parsea cada ruta de los
archivos, filtrándolos de manera que solamente las imágenes son agregadas.
Este evento se conoce como Arastra y Suelta, o Drag and Drop. Otros eventos
son Click, MouseDown, MouseUp, Hover, MouseWheel, Focus, entre otros.</span></div>
</td>
</tr>
</tbody></table>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Con este sistema se pueden
agregar varios archivos que se arreglan a una cola de archivos que van siendo
subidos uno a uno, de manera asíncrona. Es decir, el programa puede ser
utilizado mientras las imágenes están siendo subidas.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="20" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image004.png" width="936" /></span><span style="font-size: 20.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="listas"><b style="mso-bidi-font-weight: normal;"><span style="font-size: 20.0pt;">Opciones de
listas</span></b></a></div>
<span style="mso-bookmark: listas;"></span>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Cada vez que se termina de
subir un archivo este se agrega a la lista. Esta lista permite seleccionar los
elementos subidos de dos formas:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo6; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Selección Simple: Seleccionar un elemento</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo6; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Selección Múltiple: Seleccionar varios elementos,
incluso seleccionarlos todos</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Cuando se cierra la
aplicación, la lista se guarda en un archivo. Cuando se vuelve a abrir la
aplicación, el programa carga desde el archivo la lista, así que el usuario no
pierde sus datos al cerrar la aplicación, a menos que borre dichos archivos. En
caso de que dichos archivos se borren por accidente, el programa sigue
funcionando.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Modificar los archivos
manualmente puede provocar errores en el funcionamiento del programa.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="20" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image004.png" width="936" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="redessociales"><b style="mso-bidi-font-weight: normal;"><span style="font-size: 20.0pt;">Redes Sociales</span></b></a></div>
<span style="mso-bookmark: redessociales;"></span>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="221" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image007.png" width="713" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">En la lista al dar click
derecho en un elemento, se despliega la opción compartir, con la cual se puede
enviar una petición a la red social para publicar la imagen.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Las redes sociales permitidas
son las siguientes:</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l4 level1 lfo7; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-size: 20.0pt; mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="21" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image009.png" width="21" /></span><span style="font-size: 20.0pt;"><span style="mso-spacerun: yes;"> </span>Facebook</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l4 level1 lfo7; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><img border="0" height="16" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image010.png" width="16" /><span style="mso-spacerun: yes;"> </span><span style="font-size: 20.0pt;">Twitter</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l4 level1 lfo7; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="16" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image011.png" width="16" /></span><span style="font-size: 20.0pt;"><span style="mso-spacerun: yes;"> </span>Google+</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l4 level1 lfo7; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="16" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image012.png" width="16" /></span><span style="font-size: 20.0pt;"><span style="mso-spacerun: yes;"> </span>Tumblr</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l4 level1 lfo7; text-indent: -18.0pt;">
<span style="font-family: Symbol; font-size: 20.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="16" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image013.png" width="16" /></span><span style="font-size: 20.0pt;"><span style="mso-spacerun: yes;"> </span>Delicious</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-size: 20.0pt; mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="21" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image009.png" width="21" /></span><span style="font-size: 20.0pt;">Facebook</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="268" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image014.png" width="654" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="16" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image010.png" width="16" /></span><span style="font-size: 20.0pt;">Twitter</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="218" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image015.png" width="658" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="16" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image011.png" width="16" /></span><span style="font-size: 20.0pt;">Google+</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="316" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image016.png" width="636" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="16" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image012.png" width="16" /></span><span style="font-size: 20.0pt;">Tumblr</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="361" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image017.png" width="662" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="16" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image013.png" width="16" /></span><span style="font-size: 20.0pt;">Delicious</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="411" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image018.png" width="646" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="20" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image004.png" width="936" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="interfazgrafica"><b style="mso-bidi-font-weight: normal;"><span style="font-size: 20.0pt;">Interfaz Gráfica</span></b></a></div>
<span style="mso-bookmark: interfazgrafica;"></span>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">La interfaz gráfica de
esta aplicación está compuesta por los siguientes controles gráficos:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l9 level1 lfo8; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Botones: Los botones son los utilizados para subir los
archivos a tarvés del portapapeles y el evento Drag&Drop</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l9 level1 lfo8; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Listas: Se utiliza una lista para enlistar los
archivos subidos</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l9 level1 lfo8; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Áreas de Texto: Se usa una caja de texto para
almacenar los enlaces con formato específico</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l9 level1 lfo8; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">4.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Menú Desplegables: Hay dos menú desplegables, el
primero es al dar click sobre la lista, que tiene las opciones de eliminar y
compartir, mientras que el otro menú se desplega al dar click en ciertas áreas
en blanco de la ventana, que tiene las opciones de salir y cambiar el skin.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l9 level1 lfo8; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">5.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Controladores Checkbox: Permite configurar con valores
booleanas, el funcionamiento de los algoritmos que muestran los enlaces
formateados y también las acciones a realizar una vez terminado de subir un
archivo.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l9 level1 lfo8; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">6.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Etiquetas: Muestran ayuda visual para la comprensión
del programa, además permiten incluir imágenes para mejorar el aspecto visual.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l9 level1 lfo8; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">7.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Ventanas: Todo el programa funciona sobre una única
ventana, que muestra la aplicación, como información sobre el desarrollador.</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="20" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image004.png" width="936" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="programacionenjava"><span style="font-size: 20.0pt;">Programación del
proyecto en Java</span></a></div>
<span style="mso-bookmark: programacionenjava;"></span>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">La información a
continuación no está relacionada con el funcionamiento del proyecto sino con
detalles técnicos que pueden interesar a otros programadores y desarrolladores
de aplicaciones.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">El proyecto fue
desarrollado en Netbeans:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="631" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image019.png" width="1012" /></span><span style="font-size: 20.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Se utilizaron opciones
para verificar el correcto funcionamiento del programa usando la clase
Exception y todas aquellas cuya jerarquía pertenece a esta superclase. Por
ejemplo IOException.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">El siguiente algoritmo
permite verificar que solo se puedan subir archivos de imágenes al arrastrar</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;">
</span>ArrayList<String> extensionesAdmitidas = </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">new</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
ArrayList<String>();</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>Collections.addAll(extensionesAdmitidas,
</span><span style="color: #2a00ff; font-family: "Courier New"; font-size: 10.0pt;">"jpg"</span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">, </span><span style="color: #2a00ff; font-family: "Courier New"; font-size: 10.0pt;">"png"</span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">, </span><span style="color: #2a00ff; font-family: "Courier New"; font-size: 10.0pt;">"gif"</span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">, </span><span style="color: #2a00ff; font-family: "Courier New"; font-size: 10.0pt;">"bmp"</span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">, </span><span style="color: #2a00ff; font-family: "Courier New"; font-size: 10.0pt;">"jpeg"</span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">for</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> (</span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">int</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> i = 0; i < files.length;
i++) {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">try</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">if</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> (!uploader.rutas.contains(files[i].getCanonicalPath()))
{</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">if</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
(extensionesAdmitidas.contains(getExtension(files[i].getCanonicalPath()))) {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;">
</span>uploader.rutas.add(files[i].getCanonicalPath());</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>} </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">catch</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> (IOException
ex) {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>Logger.getLogger(v0.</span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">class</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">.getName()).log(Level.SEVERE,
</span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">null</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">, ex);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-size: 20.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Se utilizaron
características propias de conexión y servicios, como lo son los objetos Json y
los métodos Callback:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><u><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">public</span></u></b><u><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> </span></u><b><u><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">void</span></u></b><u><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> conectar() </span></u><b><u><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">throws</span></u></b><u><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
GeneralSecurityException, IOException, URISyntaxException</span></u><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>HttpTransport httpTransport = </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">new</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
NetHttpTransport();</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>JacksonFactory jsonFactory = </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">new</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
JacksonFactory();</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>GoogleCredential credential = </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">new</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
GoogleCredential.Builder().setTransport(httpTransport).setClientSecrets(CLIENT_ID,
CLIENT_SECRET).setJsonFactory(jsonFactory).setServiceAccountId(SERVICE_ACCOUNT_EMAIL).setServiceAccountScopes(DriveScopes.DRIVE_FILE)
</span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">//.setServiceAccountUser(userEmail)</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;">
</span>.setServiceAccountPrivateKeyFromP12File(</span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">new</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
java.io.File(SERVICE_ACCOUNT_PKCS12_FILE_PATH)).build()<u>;</u></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>service = </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">new</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
Drive.Builder(httpTransport, jsonFactory, </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">null</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">).setHttpRequestInitializer(credential).build();</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-size: 20.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Para poder trabajar con el
API de Google se hizo uso de las credenciales.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Las librerías que utilicé
fueron las siguientes:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0cm 3.5pt 0cm 3.5pt; mso-yfti-tbllook: 1184; width: 451px;">
<tbody>
<tr style="height: 15.0pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">Librería</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">Peso</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 1;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">AbsoluteLayout.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">2.8 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 2;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">commons-net-3.2.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">269 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 3;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">DocumentListDemo.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">26.5 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 4;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">filedrop.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">25.0 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 5;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">gdata-docs-3.0.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">118 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 6;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">gdata-docs-meta-3.0.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">4.4 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 7;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">google-api-client-1.10.3-beta.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">113 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 8;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">google-api-client-appengine-1.10.3-beta.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">3.2 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 9;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">google-api-client-servlet-1.10.3-beta.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">10.1 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 10;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">google-api-services-drive-v2-rev5-1.7.2-beta-javadoc.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">4.2 MB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 11;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">google-api-services-drive-v2-rev5-1.7.2-beta-sources.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">335 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 12;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">google-api-services-drive-v2-rev5-1.7.2-beta.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">90.4 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 13;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">google-http-client-1.10.3-beta.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">215 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 14;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">google-oauth-client-1.10.1-beta.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">72.6 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 15;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">google-oauth-client-servlet-1.10.1-beta.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">37.9 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 16;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">guava-11.0.1.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">1.6 MB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 17; mso-yfti-lastrow: yes;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 291.0pt;" valign="bottom" width="388">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">jackson-core-asl-1.9.4.jar</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 47.0pt;" valign="bottom" width="63">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">223 kB</span></div>
</td>
</tr>
</tbody></table>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Estas librerías no solo
son de la API de google, también hay otras como lo es filedrop, que me permitió
usar el evento Drag & Drop del sistema operativo.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Las imágenes que utilicé
yo las edité con el programa Adobe Fireworks, pero las imágenes de los skin
fueron creadas por Freeman.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">El paquete que usé fue <a href="http://iamfreeman.deviantart.com/#/d2odg1e">Black Background Set by
Freeman</a></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Para el proyecto usé 8
clases, la que tiene mayor peso es la de la interfaz gráfica, generada por
Netbeans</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0cm 3.5pt 0cm 3.5pt; mso-yfti-tbllook: 1184; width: 239px;">
<tbody>
<tr style="height: 15.0pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 119.0pt;" valign="bottom" width="159">
<div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">Clase</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">Tamaño</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 1;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 119.0pt;" valign="bottom" width="159">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">animarObjeto.java</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">2.0 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 2;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 119.0pt;" valign="bottom" width="159">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">configuracion.java</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">4.2 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 3;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 119.0pt;" valign="bottom" width="159">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">GUD.java</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">2.1 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 4;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 119.0pt;" valign="bottom" width="159">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">maquinaSubidora.java</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">18.6 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 5;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 119.0pt;" valign="bottom" width="159">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">mover.java</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">3.0 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 6;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 119.0pt;" valign="bottom" width="159">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">objetoSubido.java</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">1.5 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 7;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 119.0pt;" valign="bottom" width="159">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">paralelismo.java</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">3.9 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 8;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 119.0pt;" valign="bottom" width="159">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">v0.form</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">64.6 kB</span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 9; mso-yfti-lastrow: yes;">
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 119.0pt;" valign="bottom" width="159">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">v0.java</span></div>
</td>
<td nowrap="nowrap" style="height: 15.0pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="color: black; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-CR; mso-hansi-font-family: Calibri;">78.7 kB</span></div>
</td>
</tr>
</tbody></table>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">La clase donde se
desarrolla la mayor cantidad de tareas es en maquinaSubidora.java en la que se
conecta a Google Drive y recibe información desde la clase v0.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">La compilación del archivo
consiste de tres elementos:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="147" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image020.png" width="911" /></span><span style="font-size: 20.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">La carpeta de librerías,
el archivo GUD.jar para ejecutar el programa, y la librería gUpDrive.dll que
debe estar en el mismo directorio que el programa.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Algunos de los import de
la clase maquinaSubidora.java son:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> com.google.api.client.googleapis.auth.oauth2.GoogleCredential;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> com.google.api.client.http.HttpTransport;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> com.google.api.client.http.InputStreamContent;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> com.google.api.client.http.javanet.NetHttpTransport;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> com.google.api.client.json.jackson.JacksonFactory;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> com.google.api.services.drive.Drive;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> com.google.api.services.drive.DriveScopes;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> com.google.api.services.drive.model.ChildList;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> com.google.api.services.drive.model.File;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> com.google.api.services.drive.model.ParentReference;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> java.awt.Desktop;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> java.awt.Toolkit;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> java.awt.datatransfer.Clipboard;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> java.awt.datatransfer.DataFlavor;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> java.awt.datatransfer.StringSelection;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> java.awt.datatransfer.UnsupportedFlavorException;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> java.awt.image.BufferedImage;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> java.io.*;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
java.net.MalformedURLException;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> java.net.URI;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
java.net.URISyntaxException;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> java.net.URL;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
java.security.GeneralSecurityException;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
java.util.ArrayList;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
java.util.Arrays;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
java.util.logging.Level;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
java.util.logging.Logger;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> javax.imageio.ImageIO;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> javax.swing.DefaultListModel;</span><span style="font-size: 20.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Por otra parte, esta
aplicación es multihilo o MultiThread. Tiene 3 hilos principales:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l8 level1 lfo9; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">El hilo de ejecución principal, desde que se inicia el
programa hasta que termina</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l8 level1 lfo9; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Un segundo hilo, en el que se ejecutan todas las
animaciones que se ven en la ventana</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l8 level1 lfo9; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">El hilo del momento en el que se están subiendo los
archivos.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">De no ser por esto, el
programa se bloquearía cada vez que se sube un archivo, y volvería a estar
activo hasta finalizar la subida, lo cual no es muy conveniente porque esto
imposibilita a posibles tareas que requiera hacer el usuario.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Para lograr esto, usé la
clase paralelismo.java que a su vez es una subclase de SwingWorker, de la cual
copio una de las versiones de su código:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">package</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> gud;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
java.awt.datatransfer.UnsupportedFlavorException;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
java.io.IOException;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">import</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
javax.swing.SwingWorker;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">public</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">class</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> paralelismo </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">extends</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
SwingWorker<String, Void> {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>v0 ventana;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">int</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> accion;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// ▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">public</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> paralelismo(v0
ventana, </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">int</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> accionRecibida) { </span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">//1 subir desde portapapeles</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">this</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">.ventana = ventana;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">this</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">.accion = accionRecibida;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// ▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">void</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> acciones() </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">throws</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
UnsupportedFlavorException, IOException {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">if</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> (accion == 1) {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">if</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
(ventana.hayConexion()) {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;">
</span>ventana.uploader.subirDesdePortapapeles(); </span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// Intenta
subir la imágen desde el portapapeles</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>ventana.getjList1().setModel(ventana.uploader.obtenerSubidos());
</span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">//
le pasa al modelo todos los subidos</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;">
</span>ventana.getjList1().setSelectionInterval(0,
ventana.getjList1().getModel().getSize() - 1);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">//int[] a = {0,ventana.getjList1().getModel().getSize()-1};
// obtiene la cantidad de elementos menos 1 del modelo</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">//
ventana.getjList1().setSelectedIndices(a); // selecciona todos los elementos</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;">
</span>ventana.getjButton1().setEnabled(</span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">true</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>} </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">else</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>ventana.getjLabel3().setText(</span><span style="color: #2a00ff; font-family: "Courier New"; font-size: 10.0pt;">"No hay
conexión a internet"</span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">if</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> (accion == 3) {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">if</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">
(ventana.hayConexion()) {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>ventana.ejecutar(4);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>ventana.uploader.subirCola();</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">//int[] a =
{0,ventana.getjList1().getModel().getSize()-1}; // obtiene la cantidad de
elementos menos 1 del modelo</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">//
ventana.getjList1().setSelectedIndices(a); // selecciona todos los elementos</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;">
</span>ventana.getjButton4().setEnabled(</span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">true</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>} </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">else</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>ventana.getjLabel3().setText(</span><span style="color: #2a00ff; font-family: "Courier New"; font-size: 10.0pt;">"No hay
conexión a internet"</span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">if</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> (accion == 2) { </span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// No importa
si hay conexión a internet o no, esta operación debe estar disponible</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>ventana.getjList1().removeAll();</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// Obtiene los enlaces formateados</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">boolean</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> c0 =
ventana.getjCheckBox0().isSelected(); </span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// lista</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">boolean</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> c1 = ventana.getjCheckBox1().isSelected();
</span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">//
hotlink</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">boolean</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> c2 =
ventana.getjCheckBox2().isSelected(); </span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// thumbnail html</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">boolean</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> c3 =
ventana.getjCheckBox3().isSelected(); </span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// thumbnail bbcode</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">boolean</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> c4 =
ventana.getjCheckBoxMostrarSeparadores().isSelected(); </span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// asteriscos
separadores ****...</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">boolean</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> c5 =
ventana.getjCheckBox7().isSelected(); </span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// tag <br /></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>String formateados =
ventana.uploader.obtenerEnlacesFormateados(ventana.getjList1().getSelectedValues(),
c0, c1, c2, c3, c4, c5);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">//System.out.println(ventana.getjList1().getSelectedValues().length);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;">
</span>ventana.getjTextPane1().setText(formateados);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// ▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #646464; font-family: "Courier New"; font-size: 10.0pt;">@</span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Override</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">protected</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> String
doInBackground() </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">throws</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> UnsupportedFlavorException, IOException {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>acciones();</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">return</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> </span><span style="color: #2a00ff; font-family: "Courier New"; font-size: 10.0pt;">"Operacion
finalizada"</span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">;</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// ▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #646464; font-family: "Courier New"; font-size: 10.0pt;">@</span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Override</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">public</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> </span><b><span style="color: #7f0055; font-family: "Courier New"; font-size: 10.0pt;">void</span></b><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"> done() {</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #3f7f5f; font-family: "Courier New"; font-size: 10.0pt;">// ▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="20" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image004.png" width="936" /></span><span style="font-size: 20.0pt;"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="desarrollador"><span style="font-size: 20.0pt;">Otros proyectos del
desarrollador</span></a></div>
<span style="mso-bookmark: desarrollador;"></span>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Bueno yo soy estudiante
del Instituto Tecnológico de Costa Rica y busco sacarme la carrera de
Ingeniería en Computación, por lo que no tengo tiempo para desarrollar
proyectos. Actualmente estoy teniendo problemas económicos por lo que tuve que
salir este semestre a trabajar para poder ingresar nuevamente.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">A veces aprovecho para
practicar y desarrollar un poco y de ello se deriva este proyecto, así como la
renovación de mi blog.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Algunos de los proyectos
que podrían (o no) interesarte son:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l7 level1 lfo10; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;"><a href="http://gmendezm.blogspot.com/">Blog</a>: Es
donde publico material, información y opiniones.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l7 level1 lfo10; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;"><a href="http://gmendezm.blogspot.com/2012/12/codigo.html">Código</a>: Proyectos
programados en la universidad. Van desde ensamblador hasta Python.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l7 level1 lfo10; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;"><a href="http://gmendezm.blogspot.com/2012/12/carrera-profesional-ingenieria-en.html">Sobre
la carrera:</a> Información sobre los cursos que debo aprobar para ser
ingeniero.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l7 level1 lfo10; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">4.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;"><a href="http://gmendezm.blogspot.com/search/label/COMPDES">COMPDES</a>: Viaje a
otros países centroamericanos.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l7 level1 lfo10; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">5.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;"><a href="http://gmendezm.blogspot.com/search/label/Tutoriales">Tutoriales</a>:
Algunos documentos sobre mi experiencia con diferentes lenguajes de
programación.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Para acceder a todas las
entradas del blog pueden acceder al siguiente <a href="http://gmendezm.blogspot.com/search/label/Todo">enlace</a>.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Mis proyectos e ideas los
publico en el tag de ideas. El proyecto gUpDrive lo tenía en mente desde la
publicación de <a href="http://gmendezm.blogspot.com/2013/01/avances-de-miniproyectos-1.html">esta</a>
entrada</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="20" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image004.png" width="936" /></span><span style="font-size: 20.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="licencia"><span style="font-size: 20.0pt;">Licencia</span></a></div>
<span style="mso-bookmark: licencia;"></span>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img alt="http://www.informaticalegal.com.ar/wp-content/uploads/2012/08/Safe-Creative.jpg" border="0" height="252" src="https://googledrive.com/host/0ByHNZrr2HZ4nZWZsa2NkZkk4Zmc/gUpDrive,%20Documento_archivos/image021.jpg" width="900" /></span><span style="font-size: 20.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Este proyecto tiene una
licencia Safe Creative del tipo que se especificará a continuación.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">Licencia <b style="mso-bidi-font-weight: normal;"><span style="color: red;">Creative Commons
Reconocimiento-NoComercial-CompartirIgual 3.0</span></b>:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l2 level1 lfo4; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Se puede copiar y distribuir</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l2 level1 lfo4; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">No se puede hacer uso comercial</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l2 level1 lfo4; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Se pueden hacer trabajos derivados bajo la misma
licencia</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l2 level1 lfo4; text-indent: -18.0pt;">
<span style="font-size: 20.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">4.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-size: 20.0pt;">Se debe reconocer la autoría</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-size: 20.0pt;">El enlace a esta licencia
es el siguiente: <a href="https://www.safecreative.org/work/1303064723717-gupdrive">https://www.safecreative.org/work/1303064723717-gupdrive</a></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-62552659631278162612013-03-04T21:59:00.002-06:002013-03-04T21:59:15.288-06:00Los lenguajes del futuroEs algo que ya muchos saben pero que sin embargo yo bien podría estarlo practicando hasta este año 2013.<br />
<br />
Los lenguajes del futuro, que yo llamo no lo saqué de ningún lugar oficial así que no lo busquen xD, es un concepto que abarca básicamente todas aquellas tecnologías que permiten desarrollar aplicaciones (software) gráficamente superior a todo lo que hasta ahora se ha visto.<br />
<br />
3D, Efectos, Gestos, Programas Intuitivos, Reconocimiento de voz, eventos automatizados y controles GUI avanzados. Todo esto por un lado.<br />
<br />
Con esto me refiero a:<br />
1. Javascript<br />
2. CSS3<br />
3. HTML5<br />
4. XML<br />
5. Lenguajes interpretados pero muy eficientes.<br />
<br />
Estos lenguajes de programación permiten crear aplicaciones, escribiendo código una sola vez, y luego esta aplicación la llevas a cualquier tipo de hardware (PC, Tablets, Smartphones, etc) y plataforma (iOS, Android, Google OS, Microsoft Windows, Windows Phone, y Linux, entre otros, como Blackberry, webOS, Solaris y demás).<br />
<br />
La semana pasada estuve practicando para ver si podía poner en práctica unas cuantas ideas y resulta que si pude. Desarrollé una aplicación utilizando lenguajes web, y la aplicación fue compilada y ejecutada en Android y iOS.<br />
<br />
También desarrollé unas aplicaciones en Java que funcionan en 3D con un rendimiento bastante aceptable. Con 3D me refiero a Swing (Ventanas, ComboBox, Botones, TextArea, etc) funcionando en 3D.<br />
<br />
Los lenguajes del futuro, son aquellos lenguajes de programación que permiten esto pero que además permiten conectarse fácilmente con lo que el usuario desea: Redes Sociales (Twitter, 9GAG, Facebook, Tumblr, Foursquare bueno con todas ellas) a través de API's, Bases de Datos (SQL, MySQL, Oracle, SQLite, etc) a través de drivers y plugins que facilitan el trabajo con las mismas. También es importante que las herramientas permitan conexiones con servidores como TomCat, GlassFish y demás cosas.<br />
<br />
El tercer aspecto importante sobre los lenguajes de programación del futuro, son los Framework y las librerías.<br />
<br />
Yo he usado librerías de Javascript (JQuery en sus versiones Normal, Mobile y UI, también está Prototype, y luego todo lo que facilite el trabajo con AJAX y commet) y de Java (Por ejemplo las que se conectan a las API de Google o cualquier otro producto).<br />
<br />
Por otra parte tenemos herramientas como Ruby on Rails, y en general, todas las herramientas que funcionan a base del MVC (Modelo Vista Controlador) y otros modelos que facilitan escribir aplicaciones más organizadas, y lo más importante, en menos tiempo).<br />
<br />
Ruby on Rails, Zend, Django (o algo así no recuerdo, es de Python) son este tipo de espacios de trabajo bastante útiles e importantes.<br />
<br />
Hay muchas cosas que se escapan a mi conocimiento pero que merecen una mención más específica.<br />
<br />
Los dejo con esta imágen que obtuve a través de FireBug que muestra la capacidad a la que han llegado las herramientas de depuración y revisión web en los navegadores (Yo utilizo Firefox y no lo cambio por nada, ni por Chrome, aunque este tenga también una herramienta que uso a menudo).<br />
<br />
<img alt="http://i.imgur.com/aFg63WL.png" class="decoded" src="http://i.imgur.com/aFg63WL.png" /><br />
<br />
<br />
<br />
<br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-64348615193606086252013-03-04T09:11:00.002-06:002013-03-04T09:11:57.369-06:00Felíz CumpleañosAnonymoushttp://www.blogger.com/profile/14594151912661164519noreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-21172518585185240372013-02-11T17:18:00.002-06:002013-02-11T17:18:49.527-06:00Logo de Radiohead en CSS3Hoy estuve revisando la web de Alonso (TEC SSC) y me encontré con un excelente logo de Radiohead hecho en CSS3<br />
<br />
<a href="http://alonsovb.com/radiohead/">http://alonsovb.com/radiohead/</a><br />
<br />
CSS3 permite cosas que son dificiles de abarcar en su totalidad. Ya individualmente permite muchas funciones pero de manera combinada con otras tecnologías y bibliotecas (Como JQuery de Javascript) simplemente entrega a la web algo de lo que carecía, y que trataba de solventar con software obsoleto como Flash, que además es de código cerrado.<br />
<br />
Alonso usó no una sino varias de las capacidades de CSS3, y además tomó ciertas precauciones.<br />
<br />
Los prefijos que usó:<br />
<br />
<pre> -webkit-border-radius: 10px / 40px;
-moz-border-radius: 10px / 40px;
-o-border-radius: 10px / 40px;</pre>
<pre> </pre>
<pre> </pre>
Hacen referencia a navegadores distintos. -webkit- para Google Chrome y Safari, -moz- para Firefox y -o- para Opera.<br />
<br />
Con estos él se ha asegurado de que su logo se vea en los navegadores más importantes de la actualidad.<br />
<br />
Si el no hubiera colocado el prefijo por ejemplo -o-border-radius... el efecto que brinda dicha propiedad se vería en todos los navegadores excepto en Opera, del grupo anteriormente mencionado.<br />
<br />
Lo que se espera de CSS3 es que estos prefijos dejen de ser necesarios en un futuro para así unificar las hojas de estilo en cascada, con un estandard sólido y confiable.<br />
<br />
CSS3 permite transformaciones tanto en dos dimensiones como en tres dimensiones. Usted puede hacer un videojuego en 3D con CSS3, HTML5 y Javascript (O JQuery, más fácil :D).<br />
<br />
También puede utilizar animaciones todo hecho en CSS3, usando frames.Anonymoushttp://www.blogger.com/profile/14594151912661164519noreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-24266648102144194552013-02-10T19:58:00.003-06:002013-02-10T19:58:58.540-06:00Compiladores de CAprendiendo C++ , cuando instalé un IDE me topé con una lista de compiladores de C<br />
<br />
<div style="text-align: center;">
<img border="0" src="https://docs.google.com/uc?id=0B8QvqTwBdITRRUZGdGU1aTNSTDg" /></div>
Anonymoushttp://www.blogger.com/profile/14594151912661164519noreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-50280773297901169982013-02-09T14:30:00.001-06:002013-02-09T14:30:01.788-06:00Tutorial bases de Javascript<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Tutorial <span class="SpellE">Javascript</span></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Parte 1:
Algunas formas de mostrar hola mundo en <span class="SpellE">Javascript</span></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Parte 2: Características
básicas del lenguaje <span class="SpellE">Javascript</span></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Parte 3: No
hace falta que el código vaya directamente en el archivo HTML: Archivos JS</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Parte 4:
Funciones</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Parte 5:
Eventos</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Parte 6:
Arreglos</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Parte 7: Matriz
con arreglos</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Parte 8: <span class="SpellE">Join</span> y Split, <span class="SpellE">Strings</span> y
arreglos</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Parte 9:
Objetos</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Parte 10:
Conclusión</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">---------------------------------------------------------------------------------------------------</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 1: Algunas formas de mostrar hola
mundo en <span class="SpellE">Javascript</span></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Primero aprende
HTML5, en Google hay varios tutoriales. Yo hice uno sencillo (al que puedes
entrar en <a href="http://gmendezm.blogspot.com/2013/02/tutorial-html5-parte-1.html">este
enlace</a>).</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Porque nuestros
scripts van a correr sobre una página web, y esta debe tener un formato.
Vamos a usar el siguiente formato para nuestra plantilla:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<pre><b><span style="color: purple; font-size: 11.0pt;"><!DOCTYPE</span></b><span style="color: silver; font-size: 11.0pt;"> </span><span class="SpellE"><span style="font-size: 11.0pt;">html</span></span><b><span style="color: purple; font-size: 11.0pt;">></span></b><span style="font-size: 11.0pt;"></span></pre>
<pre style="-qt-block-indent: 0;"><span style="color: olive; font-size: 11.0pt;"><<span class="SpellE">html</span>></span><span style="font-size: 11.0pt;"></span></pre>
<pre style="-qt-block-indent: 0;"><span style="color: silver; font-size: 11.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: olive; font-size: 11.0pt;"><head></span><span style="font-size: 11.0pt;"></span></pre>
<pre style="-qt-block-indent: 0;"><span style="color: silver; font-size: 11.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: olive; font-size: 11.0pt;"><meta</span><span style="color: silver; font-size: 11.0pt;"> </span><span style="font-size: 11.0pt;">http-<span class="SpellE">equiv</span>=<span style="color: #aa0000;">"Content-<span class="SpellE">Type</span>"</span><span style="color: silver;"> </span><span class="SpellE">content</span>=<span style="color: #aa0000;">"<span class="SpellE">text</span>/<span class="SpellE">html</span>;</span><span style="color: silver;"> </span><span class="SpellE"><span style="color: #aa0000;">charset</span></span><span style="color: #aa0000;">=UTF-8"</span><span style="color: olive;">></span></span></pre>
<pre style="-qt-block-indent: 0;"><span style="color: silver; font-size: 11.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: olive; font-size: 11.0pt;"><<span class="SpellE">title</span>></span><span style="font-size: 11.0pt;">Tutorial<span style="color: silver;"> </span><span class="SpellE">Javascript</span><span style="color: olive;"></<span class="SpellE">title</span>></span></span></pre>
<pre style="-qt-block-indent: 0;"><span style="color: silver; font-size: 11.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: olive; font-size: 11.0pt;"></head></span><span style="font-size: 11.0pt;"></span></pre>
<pre style="-qt-block-indent: 0;"><span style="color: silver; font-size: 11.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: olive; font-size: 11.0pt;"><<span class="SpellE">body</span>></span><span style="font-size: 11.0pt;"></span></pre>
<pre style="-qt-block-indent: 0;"><span style="color: silver; font-size: 11.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: green; font-size: 11.0pt;"><!--</span><span style="color: silver; font-size: 11.0pt;"> </span><span style="color: green; font-size: 11.0pt;">Código</span><span style="color: silver; font-size: 11.0pt;"> </span><span style="color: green; font-size: 11.0pt;">--></span><span style="font-size: 11.0pt;"></span></pre>
<pre style="-qt-block-indent: 0;"><span style="color: silver; font-size: 11.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: olive; font-size: 11.0pt;"></<span class="SpellE">body</span>></span><span style="font-size: 11.0pt;"></span></pre>
<pre style="-qt-block-indent: 0;"><span style="color: olive; font-size: 11.0pt;"></<span class="SpellE">html</span>></span><span style="font-size: 11.0pt;"></span></pre>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">¿Cuántos
navegadores usa usted? Lo más probable es que utilice uno. Si usa varios y es
desarrollador, podría haber notado lo que a continuación vamos a comentar, y
si no, será necesario para seguir con el tutorial entenderlo.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Hay tres formas
en las que podemos mostrar resultados con <span class="SpellE">Javascript</span>.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l35 level1 lfo41; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Mostrando los resultados en la consola
(sirve para <span class="SpellE">debugg</span> de cómputo y textos)</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l35 level1 lfo41; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Mostrando los resultados en la página (y
así se muestra el resultado final).</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l35 level1 lfo41; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Mostrando los resultados con una ventana <span class="SpellE">alert</span></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Entonces primero
hay que mostrar un hola mundo en la consola.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">La consola en
el navegador <span class="SpellE">Chrome</span> se obtiene al presionar <span class="SpellE">Cntrl+Shift+J</span></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="523" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image001.png" width="890" /></span><span style="font-family: "Courier New";"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Este mismo
resultado lo puedes obtener en cualquier navegador. Para saber cómo se puede
sacar la consola en otros navegadores realiza una búsqueda en Google con los
términos “mostrar consola en <span class="SpellE">nombreDeMiNavegador</span>”.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Para mostrar
Hola Mundo basta con el siguiente código:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New";"><!DOCTYPE</span><span style="font-family: "Courier New";"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New";"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">html</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"><</span><span style="color: #a31515; font-family: "Courier New";">head</span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"><</span><span style="color: #a31515; font-family: "Courier New";">meta</span><span style="font-family: "Courier New";"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">title</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="color: black; font-family: "Courier New";">Tutorial
<span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New";"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">title</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"></</span><span style="color: #a31515; font-family: "Courier New";">head</span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">body</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"><</span><span style="color: #a31515; font-family: "Courier New";">script</span><span style="font-family: "Courier New";"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New";"><span style="mso-spacerun: yes;">
</span><span style="color: black;">console</span><span style="color: #5c5c5c;">.</span><span style="color: black;">log</span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Hola Mundo"</span><span style="color: #5c5c5c;">);</span>
<span style="color: green;">// la declaración termina en punto y coma</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New";"><span style="mso-spacerun: yes;">
</span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">body</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New";"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">html</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Para mostrar
Hola Mundo como alerta, sería de la siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New";"><!DOCTYPE</span><span style="font-family: "Courier New";"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New";"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">html</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"><</span><span style="color: #a31515; font-family: "Courier New";">head</span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"><</span><span style="color: #a31515; font-family: "Courier New";">meta</span><span style="font-family: "Courier New";"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">title</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="color: black; font-family: "Courier New";">Tutorial
<span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New";"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">title</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"></</span><span style="color: #a31515; font-family: "Courier New";">head</span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">body</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"><</span><span style="color: #a31515; font-family: "Courier New";">script</span><span style="font-family: "Courier New";"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New";"><span style="mso-spacerun: yes;">
</span><span class="SpellE"><span style="color: black;">alert</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Hola
Mundo"</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New";"><span style="mso-spacerun: yes;">
</span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New";"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">body</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New";"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New";">html</span></span><span style="color: blue; font-family: "Courier New";">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="524" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image002.png" width="892" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">La otra forma
sería escribir en el documento usando <span class="SpellE">write</span>, de la
siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Hola Mundo"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="308" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image003.png" width="894" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Los comentarios
se hacen de la siguiente forma:</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New";"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span></span><span style="color: green; font-family: "Courier New";"><!-- </span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: green; font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span>Esto es un comentario HTML</span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: green; font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span>--></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New";"><span style="mso-spacerun: yes;">
</span><span style="mso-tab-count: 1;"> </span><span style="color: green;">/*</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New";"><span style="mso-spacerun: yes;">
</span><span style="mso-tab-count: 1;"> </span><span style="mso-spacerun: yes;"> </span><span style="color: green;">* Comentario <span class="SpellE">multilinea</span> en Java</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New";"><span style="mso-spacerun: yes;">
</span><span style="mso-tab-count: 1;"> </span><span style="mso-spacerun: yes;"> </span><span style="color: green;">* </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New";"><span style="mso-spacerun: yes;">
</span><span style="mso-tab-count: 1;"> </span><span style="mso-spacerun: yes;"> </span><span style="color: green;">*/</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Hola Mundo"</span><span style="color: #5c5c5c;">);</span>
<span style="color: green;">// Escribe 'hola mundo' en el documento</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">console</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Hola Mundo"</span><span style="color: #5c5c5c;">);</span>
<span style="color: green;">// Escribe 'hola mundo' en la consola</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">alert</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Hola Mundo"</span><span style="color: #5c5c5c;">);</span>
<span style="color: green;">// Escribe 'hola mundo' en una alerta</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Eso muestra los
tres modos de hola mundo (recuerda que la consola se muestra al presionar <span class="SpellE">Shift+Cntrl+J</span></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="310" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image004.png" width="894" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Note que los
comentarios en <span class="SpellE">Javascript</span> son diferentes de los
comentarios en HTML.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">---------------------------------------------------------------------------------------------------</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 2: Características básicas del
lenguaje <span class="SpellE">Javascript</span></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l28 level1 lfo42; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span class="SpellE"><span style="font-family: "Courier New";">Javascript</span></span><span style="font-family: "Courier New";"> es débilmente <span class="SpellE">tipado</span>,
o sea que no hace falta declarar el tipo de dato.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l28 level1 lfo42; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Antes de declarar una variable se usa la
palabra <span class="SpellE">var</span></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">=</span> <span style="color: #005c00;">"Hola
Mundo"</span> <span style="color: green;">// Es de tipo <span class="SpellE">String</span></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">);</span> <span style="color: green;">// Escribe el valor
de la variable</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l28 level1 lfo42; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">La suma de un entero con una cadena de
texto da como resultado la yuxtaposición de la cadena con el número, es decir
ocurre una concatenación</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span class="SpellE"><span style="color: black;">holaMundo</span></span> <span style="color: #5c5c5c;">=</span> <span style="color: #005c00;">"Hola
Mundo"</span> <span style="color: green;">// Es de tipo <span class="SpellE">String</span></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">numero</span> <span style="color: #5c5c5c;">=</span> <span style="color: #004080;">206370942</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">suma</span>
<span style="color: #5c5c5c;">=</span> <span class="SpellE"><span style="color: black;">holaMundo</span><span style="color: #5c5c5c;">+</span><span style="color: black;">numero</span></span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: black;">suma</span><span style="color: #5c5c5c;">);</span> <span style="color: green;">// Muestra una concatenación</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="193" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image005.png" width="893" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l28 level1 lfo42; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">4.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Los 4 operadores aritméticos básicos son
los mismos de toda la vida.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l28 level1 lfo42; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">5.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">No funcionan todas las secuencias de
escape, como en los lenguajes de escritorio convencionales.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Las secuencias
de escape en, por ejemplo, C++, son las siguientes (D&D 6ta ed.)</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="303" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image006.png" width="852" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Pero como lo
que al final se muestra es un documento HTML (al usuario final) se debe
sustituir por sintaxis HTML.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Por ejemplo
para el salto de línea tendría más sentido usar el <<span class="SpellE">br</span>
/> o encerrar el texto en <p></p>, porque el salto de línea \n
no va a funcionar.</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><br />
De todos estos caracteres de escape los más útiles son las comillas, porque
estos si funcionan. Veamos un correcto uso en cuanto a secuencia de escape en
<span class="SpellE">Javascript</span> con respecto a lo que acabo de decir:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New";"><span style="mso-spacerun: yes;">
</span><span style="mso-tab-count: 1;"> </span><span style="color: green;">//
Aclaraciones sobre secuencias de escape</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span class="SpellE"><span style="color: black;">holaMundo</span></span> <span style="color: #5c5c5c;">=</span> <span style="color: #005c00;">"Hola
Mundo<<span class="SpellE">br</span> />\"hola mundo\""</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">);</span> </span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Esto muestra lo
siguiente:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 200.25pt;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="195" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image007.png" width="893" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">El salto de
línea no tiene secuencia de escape, pero las comillas si, y funcionó a la
perfección.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Sin embargo, ¿qué
pasaría si mostramos esto en un <span class="SpellE">alert</span>?</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="194" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image008.png" width="892" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Qué desastre,
se estropeó el salto de línea. Probemos esta vez el carácter de escape para
el salto de línea:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span><span style="color: green;">// Aclaraciones sobre secuencias de escape</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span class="SpellE"><span style="color: black;">holaMundo</span></span> <span style="color: #5c5c5c;">=</span> <span style="color: #005c00;">"Hola
Mundo\n\"hola mundo\""</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">alert</span></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">);</span> </span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="194" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image009.png" width="892" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">En conclusión,
tome en cuenta donde está mostrando mensajes para evitar posibles errores. En
cuanto a la aritmética</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l28 level1 lfo42; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">6.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Bucles <span class="SpellE">for</span>, <span class="SpellE">while</span> funcionan, conectivos lógicos y operadores
relacionales son los mismos, hay <span class="SpellE">if</span>, <span class="SpellE">else</span> <span class="SpellE">if</span>, <span class="SpellE">else</span>,
<span class="SpellE">switch</span>. Use llaves para encerrar el código esto no
es <span class="SpellE">Python</span> (pero aun así haga buena <span class="SpellE">identación</span> para mayor legibilidad del código).</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span> <span style="color: black;">=</span> <span style="color: black;">"</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">i</span>
<span style="color: #5c5c5c;">=</span> <span style="color: #004080;">0</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">while</span></b></span> <span style="color: #5c5c5c;">(</span><span style="color: black;">i</span> <span style="color: #5c5c5c;"><</span> <span style="color: #004080;">5</span><span style="color: #5c5c5c;">)</span> <span style="color: #5c5c5c;">{</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"<span class="SpellE">while</span>"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span style="color: black;">i</span><span style="color: #5c5c5c;">+=1;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">for</span></b></span> <span style="color: #5c5c5c;">(</span><span style="color: black;">a</span><span style="color: #5c5c5c;">=</span><span style="color: #004080;">0</span><span style="color: #5c5c5c;">;</span><span style="color: black;">a</span><span style="color: #5c5c5c;"><</span><span style="color: #004080;">5</span><span style="color: #5c5c5c;">;</span><span style="color: black;">a</span><span style="color: #5c5c5c;">++)</span> <span style="color: #5c5c5c;">{</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"<span class="SpellE">for</span>"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span style="color: black;">i</span><span style="color: #5c5c5c;">+=1;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="192" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image010.png" width="893" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Cuando utilice
listas, puede hacer cosas como <span class="SpellE"><span class="GramE">for</span></span><span class="GramE">(</span><span class="SpellE">elemento:lista</span>) para referirse
a cada uno de los elementos de la lista.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Y no se quede
en lo básico con estos bucles, recuerde que existen los operadores de
incremento</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="310" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image011.png" width="790" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Y los
operadores de asignación se pueden usar con las 4 operaciones aritméticas
básicas:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="212" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image012.png" width="634" /></span><span style="font-family: "Courier New";"></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">También se
puede usar el ciclo <span class="SpellE">doWhile</span>:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span>
<span style="color: black;">=</span> <span style="color: black;">"</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span>
<span style="color: black;">=</span> <span style="color: black;">"</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span>
<span style="color: black;">=</span> <span style="color: black;">"</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">i</span> <span style="color: #5c5c5c;">=</span> <span style="color: #004080;">0</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><b><span style="color: #0000c0;">do</span></b> <span style="color: #5c5c5c;">{</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"<span class="SpellE">doWhile</span>"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span style="color: black;">i</span><span style="color: #5c5c5c;">+=</span><span style="color: #004080;">1</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">while</span></b></span> <span style="color: #5c5c5c;">(</span><span style="color: black;">i</span> <span style="color: #5c5c5c;"><</span> <span style="color: #004080;">5</span><span style="color: #5c5c5c;">)</span> </span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">En este caso
imprime 5 veces el contenido. Para entender con exactitud la diferencia entre
un <span class="SpellE">While</span> y un do <span class="SpellE">While</span>
puede buscar los diagramas UML. No es muy común pero puede ser indispensable
dependiendo del caso.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Un <span class="SpellE">switch</span> se hace de la siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">numero</span>
<span style="color: #5c5c5c;">=</span> <span style="color: #004080;">2</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">switch</span></b></span> <span style="color: #5c5c5c;">(</span><span style="color: black;">numero</span><span style="color: #5c5c5c;">)</span> <span style="color: #5c5c5c;">{</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><b><span style="color: #0000c0;">case</span></b>
<span style="color: #004080;">0</span><span style="color: #5c5c5c;">:</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Cero"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><b><span style="color: #0000c0;">break</span></b><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><b><span style="color: #0000c0;">case</span></b>
<span style="color: #004080;">1</span><span style="color: #5c5c5c;">:</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Uno"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><b><span style="color: #0000c0;">break</span></b><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><b><span style="color: #0000c0;">case</span></b>
<span style="color: #004080;">2</span><span style="color: #5c5c5c;">:</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Dos"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><b><span style="color: #0000c0;">break</span></b><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><b><span style="color: #0000c0;">default</span></b><span style="color: #5c5c5c;">:</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-tab-count: 5;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Ninguno"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: #5c5c5c;">}</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Veamos un caso
donde necesitemos omitir el break. </span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">numero</span>
<span style="color: #5c5c5c;">=</span> <span style="color: #004080;">12</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">switch</span></b></span> <span style="color: #5c5c5c;">(</span><span style="color: black;">numero</span><span style="color: #5c5c5c;">)</span> <span style="color: #5c5c5c;">{</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><b><span style="color: #0000c0;">case</span></b>
<span style="color: #004080;">12</span><span style="color: #5c5c5c;">:</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Es 12<<span class="SpellE">br</span>/>"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span><span style="color: green;">// se omite el break;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><b><span style="color: #0000c0;">case</span></b>
<span style="color: #004080;">24</span> <span style="color: #5c5c5c;">/</span> <span style="color: #004080;">2</span><span style="color: #5c5c5c;">:</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Es 24/2<<span class="SpellE">br</span>/>"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><b><span style="color: #0000c0;">break</span></b><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><b><span style="color: #0000c0;">default</span></b><span style="color: #5c5c5c;">:</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"No es ninguno<<span class="SpellE">br</span>>"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: #5c5c5c;">}</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">En este caso si
hubiéramos puesto un break, no se hubiera comprobado la segunda condición de
case 24 / 2.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Los <span class="SpellE">if</span> se ejecutan igual, se pueden poner todos los <span class="SpellE">else-if</span> que uno desee. Un caso particular de estos
lenguajes, como Java, C++ y demás, es que los <span class="SpellE">if</span>
pueden tener o no llaves:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">numero</span> <span style="color: #5c5c5c;">=</span> <span style="color: #004080;">12</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">if</span></b></span><span style="color: #5c5c5c;">(</span><span style="color: black;">numero</span> <span style="color: #5c5c5c;">==</span> <span style="color: #004080;">12</span><span style="color: #5c5c5c;">){</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Tiene
llaves<<span class="SpellE">br</span>/>"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">if</span></b></span><span style="color: #5c5c5c;">(</span><span style="color: black;">numero</span> <span style="color: #5c5c5c;">==</span> <span style="color: #004080;">12</span><span style="color: #5c5c5c;">)</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"No tiene
llaves<<span class="SpellE">br</span>/>"</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Hay otro tipo
de condicional, donde se decide el contenido de una variable. Por ejemplo si
yo quiero que una variable sea un número 3, o un <span class="SpellE">string</span>
“tres”:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span class="SpellE"><span style="color: black;">numeroTres</span></span> <span style="color: #5c5c5c;">=</span> <span style="color: #800040;">false</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span class="GramE"><b><span style="color: #0000c0;">var</span></b></span></span>
<span style="color: black;">variable</span> <span style="color: #5c5c5c;">=</span>
<span class="SpellE"><span style="color: black;">numeroTres</span></span><span style="color: #5c5c5c;">?</span> <span style="color: #004080;">3</span><span style="color: #5c5c5c;">:</span><span style="color: #005c00;">"tres"</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: black;">variable</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="334" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image013.png" width="891" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Esto es similar
a declarar algo como:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><!DOCTYPE</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">meta</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Tutorial <span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">script</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span class="SpellE"><span style="color: black;">numeroTres</span></span> <span style="color: #5c5c5c;">=</span>
<span style="color: #800040;">false</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">variable</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">if</span></b></span> <span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">numeroTres</span></span><span style="color: #5c5c5c;">)</span> <span style="color: #5c5c5c;">{</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="color: black;">variable</span>
<span style="color: #5c5c5c;">=</span> <span style="color: #004080;">3</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">else</span></b></span> <span style="color: #5c5c5c;">{</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="color: black;">variable</span>
<span style="color: #5c5c5c;">=</span> <span style="color: #005c00;">"tres"</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: black;">variable</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt; text-indent: -35.4pt;">
<span style="font-family: "Courier New";">Y ahorra bastantes líneas de código.</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt; text-indent: -35.4pt;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Sin embargo,
como buena práctica de programación, no deberías nunca usar una variable para
varios tipos. Si haz programado o leído (y entendido) sobre cómo funcionan
los niveles de organización de un computador, sabrás que usar un tipo siempre
es mejor.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">---------------------------------------------------------------------------------------------------</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 3: No hace falta que el código vaya
directamente en el archivo HTML: Archivos JS</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Como estás
programando en <span class="SpellE">Javascript</span> ten en cuenta que es en
un entorno web, donde se utilizan muchos archivos: imágenes, audio,
animaciones, video, scripts, estilos, <span class="SpellE">html’s</span>,
algoritmos (<span class="SpellE">php</span>, <span class="SpellE">asp</span>, <span class="SpellE">etc</span>) bases de datos (<span class="SpellE">sqlite</span>, <span class="SpellE">txt</span>).</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Los navegadores
guardan archivos en la caché. ¿Qué quiere decir esto? Que cuando usted entra
a una página, no todos los archivos se vuelven a cargar. Solo se carga una
parte (la que es generada en HTML y que ven los usuarios finales).</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Si usted mete
su código <span class="SpellE">Javascript</span> en el archivo HTML, entonces
cada vez que usted cargue la página, el código se va a ejecutar.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Si son algoritmos
pequeños no importa, como los que hemos estado programando. Pero hay archivos
<span class="SpellE">Javascript</span> muy pesados. Pesados son más de 500KB,
porque recuerde que el ancho de banda promedio de la actualidad no es tan
rápido, es bastante lento (el promedio) como para descargar 500KB cada vez
que cargas un HTML.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Pero a veces se
usan archivos <span class="SpellE">Javascript</span> pesados, y en estos casos,
lo que se hace es guardarlos en caché.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Los archivos <span class="SpellE">javascript</span> tienen extensión .<span class="SpellE">js</span>,
y tienen la siguiente estructura:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="495" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image014.png" width="899" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Tenemos dos
archivos en la misma carpeta:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l14 level1 lfo43; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">miHtml.html</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l14 level1 lfo43; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">miScript.js</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Vamos a ejecutar
el contenido de <span class="SpellE">miScript</span> en <span class="SpellE">miHtml</span>:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><!DOCTYPE</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">meta</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Tutorial <span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">script</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">src</span></span><span style="color: black;">="</span><span style="color: blue;">miScript.js</span><span style="color: black;">"</span><span style="color: blue;">/></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Observe que se
borró el contenido entre <script></script> y se incluyó con un
atributo <span class="SpellE">src</span> la ruta del archivo miScript.js. Esto
también lo hacemos con los archivos <span class="SpellE">css</span> para hojas
de estilo.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">No es necesario
que el archivo esté en la misma carpeta que el HTML o el archivo que estemos
trabajando sea HTML, PHP, CSS, JS, o el que sea. Simplemente al escribir la
ruta (que debe ser un URL válido) buscará el archivo en Internet.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">A veces es
conveniente tenerlo en nuestro propio servidor, porque algunos servidores son
inestables.<span style="mso-spacerun: yes;"> </span>Basándonos en este
criterio, podría pensarse que este siempre es el caso, pero no es así. Hay
servidores que son mucho más seguros de lo que los nuestros difícilmente podrían
llegar a ser.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Y no solo eso,
sino que, algunos archivos <span class="SpellE">Javascript</span> son
continuamente desarrollados y mejorados, por lo que podemos tener en nuestro
servidor una versión obsoleta de un archivo <span class="SpellE">Javascript</span>.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Hay proyectos
muy famosos y utilizados, que por el momento omitiremos su mención.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">---------------------------------------------------------------------------------------------------</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 4: Funciones</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Un ejemplo de
función es la siguiente:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><!DOCTYPE</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">meta</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Tutorial <span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">script</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span> <span style="color: black;">imprime</span><span style="color: #5c5c5c;">(</span><span style="color: black;">variable</span><span style="color: #5c5c5c;">){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: black;">variable</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span style="color: black;">imprime</span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Hola
Mundo"</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Lo cual imprime
hola mundo. Una forma peculiar de declarar una función, es asignarle el
nombre a través de una variable. Esto sirve para crear Objetos en <span class="SpellE">Javascript</span>, y establecer métodos a esos objetos. En la
última etapa de este tutorial veremos el porqué es importante.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">imprimir</span> <span style="color: #5c5c5c;">=</span> <span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span> <span style="color: #5c5c5c;">(</span><span style="color: black;">variable</span><span style="color: #5c5c5c;">){</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: black;">variable</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span style="color: black;">imprimir</span><span style="color: #5c5c5c;">(</span><span style="color: #004080;">206370942</span><span style="color: #5c5c5c;">);</span> </span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Si necesitamos
que retorne un valor, utilizamos <span class="SpellE">return</span>:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span>
<span style="color: black;">siete</span><span style="color: #5c5c5c;">(){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">return</span></b></span> <span style="color: #004080;">7</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span>
<span style="color: black;">suma</span> <span style="color: #5c5c5c;">=</span> <span style="color: #004080;">4</span> <span style="color: #5c5c5c;">+</span> <span style="color: black;">siete</span><span style="color: #5c5c5c;">();</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: black;">suma</span><span style="color: #5c5c5c;">);</span> <span style="color: green;">// retorna 11 ya
que 11 = 4 + 7</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span class="SpellE"><span style="font-family: "Courier New";">Talvez</span></span><span style="font-family: "Courier New";"> te parezca obvio que haya que poner un <span class="SpellE">return</span>, pero aunque no lo creas hay lenguajes en los que
ni siquiera hace falta colocar el <span class="SpellE">return</span>.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Puedes utilizar
funciones recursivas e iterativas por supuesto. :</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><!DOCTYPE</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">meta</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Tutorial <span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">script</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span>
<span class="SpellE"><span style="color: black;">sumatoriaIterativa</span></span><span style="color: #5c5c5c;">(</span><span style="color: black;">numero</span><span style="color: #5c5c5c;">){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">resultado</span>
<span style="color: #5c5c5c;">=</span> <span style="color: #004080;">0</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">for</span></b></span><span style="color: #5c5c5c;">(</span><span style="color: black;">i</span> <span style="color: #5c5c5c;">=</span> <span style="color: #004080;">1</span><span style="color: #5c5c5c;">;</span> <span style="color: black;">i</span> <span style="color: #5c5c5c;"><=</span><span class="SpellE"><span style="color: black;">numero</span><span style="color: #5c5c5c;">;</span><span style="color: black;">i</span></span><span style="color: #5c5c5c;">++){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 5;"> </span><span style="color: black;">resultado</span><span style="color: #5c5c5c;">+=</span><span style="color: black;">i</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">return</span></b></span> <span style="color: black;">resultado</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span style="mso-spacerun: yes;"> </span><span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span> <span class="SpellE"><span style="color: black;">sumatoriaRecursiva</span></span><span style="color: #5c5c5c;">(</span><span style="color: black;">numero</span><span style="color: #5c5c5c;">){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 5;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">if</span></b></span><span style="color: #5c5c5c;">(</span><span style="color: black;">numero</span> <span style="color: #5c5c5c;"><=</span> <span style="color: #004080;">0</span><span style="color: #5c5c5c;">){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 5;"> </span><span class="SpellE"><b><span style="color: #0000c0;">return</span></b></span> <span style="color: black;">numero</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">return</span></b></span> <span style="color: black;">numero</span>
<span style="color: #5c5c5c;">+</span> <span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">sumatoriaRecursiva</span></span><span style="color: #5c5c5c;">(</span><span style="color: black;">numero</span><span style="color: #5c5c5c;">-</span><span style="color: #004080;">1</span><span style="color: #5c5c5c;">))</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"El resultado
iterativo es "</span> <span style="color: #5c5c5c;">+</span> <span class="SpellE"><span style="color: black;">sumatoriaIterativa</span></span><span style="color: #5c5c5c;">(</span><span style="color: #004080;">10</span><span style="color: #5c5c5c;">)</span> <span style="color: #5c5c5c;">+</span> <span style="color: #005c00;">"<<span class="SpellE">br</span> />"</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"El resultado
recursivo es "</span> <span style="color: #5c5c5c;">+</span> <span class="SpellE"><span style="color: black;">sumatoriaIterativa</span></span><span style="color: #5c5c5c;">(</span><span style="color: #004080;">10</span><span style="color: #5c5c5c;">)</span> <span style="color: #5c5c5c;">+</span> <span style="color: #005c00;">"<<span class="SpellE">br</span> />"</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Realiza el
procedimiento correspondiente a la expresión:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="543" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image015.png" width="908" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Cuyo resultado
es el siguiente:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="336" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image016.png" width="893" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">---------------------------------------------------------------------------------------------------</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 5: Eventos</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Ahora
comencemos a comunicarnos con los elementos de afuera del script. Podemos
hacer prácticamente lo que queramos con los elementos de la página web, y el
principio para ello son los eventos.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Ya vimos el
concepto de funciones. Las funciones se comportan de la siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">F(x) = y</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Pues resulta
que para este caso, la x recibida es un evento. Supongamos que usted quiere
escribir “Hola Mundo” en la página, cada vez que se presione una tecla:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Primero creamos
un div, que tenga un ID específico:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 1;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">div</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: red;">id</span><span style="color: black;">="</span><span style="color: blue;">2013</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNoSpacing">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 1;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Luego, nos
referimos a ese div desde <span class="SpellE">javascript</span>, declarando
una nueva variable, esto se hace de la siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span class="SpellE"><b><span style="background: white; color: #0000c0; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">var</span></b></span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: black;">panel</span> <span style="color: #5c5c5c;">=</span> <span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">getElementById</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">'2013'</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Para cambiar el contenido del panel tenemos que hacer un</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span class="SpellE"><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">panel</span><span style="background: white; color: #5c5c5c; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">.</span><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">innerHTML</span></span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: #5c5c5c;">=</span> <span class="SpellE"><span style="color: black;">loQueSea</span></span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Para que un evento ocurra cuando se presiona una tecla:</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span class="SpellE"><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">window</span><span style="background: white; color: #5c5c5c; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">.</span><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">addEventListener</span></span><span style="background: white; color: #5c5c5c; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">(</span><span style="background: white; color: #005c00; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">"<span class="SpellE">keydown</span>"</span><span style="background: white; color: #5c5c5c; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">,</span><span class="SpellE"><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">funcion</span></span><span style="background: white; color: #5c5c5c; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">);</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Pero la función a la que nos referimos no es cualquier
función, sino que debe recibir como parámetro un <span class="SpellE">event</span>,
y nunca debemos especificarlo en el espacio donde ves escrito “<span class="SpellE">funcion</span>”. Nunca lleva paréntesis ni nada, solo se <span class="SpellE">escibe</span> el nombre de la función. Pero la función se
declara así:</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span class="SpellE"><b><span style="background: white; color: #0000c0; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">function</span></b></span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: black;">nombreDeLaFuncion</span></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">event</span></span><span style="color: #5c5c5c;">){</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: #5c5c5c; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">}</span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;">Todo junto quedaría de la
siguiente forma:</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 1;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">texto</span> <span style="color: #5c5c5c;">=</span> <span style="color: #005c00;">"Hola Mundo"</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span> <span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">event</span></span><span style="color: #5c5c5c;">){</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">panel</span> <span style="color: #5c5c5c;">=</span> <span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">getElementById</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">'2013'</span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><span style="color: black;">panel</span><span style="color: #5c5c5c;">.</span><span style="color: black;">innerHTML</span></span> <span style="color: #5c5c5c;">=</span>
<span style="color: black;">texto</span><span style="color: #5c5c5c;">;</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 4;"> </span><span style="color: black;">texto</span><span style="color: #5c5c5c;">+=</span><span style="color: #005c00;">" Hola Mundo"</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">window</span><span style="color: #5c5c5c;">.</span><span style="color: black;">addEventListener</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"<span class="SpellE">keydown</span>"</span><span style="color: #5c5c5c;">,</span><span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">div</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: red;">id</span><span style="color: black;">="</span><span style="color: blue;">2013</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;">Así, cada vez que se
presiona una tecla, se escribe la cadena texto. Como la cadena concatena a su
contenido actual un “Hola Mundo”, parece como si se estuviese escribiendo
varias veces.</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;">Si queremos que ocurra
cuando damos, <span class="SpellE">click</span>, simplemente cambiamos esta
línea:</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 1;"> </span><span class="SpellE"><span style="color: black;">window</span><span style="color: #5c5c5c;">.</span><span style="color: black;">addEventListener</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"<span class="SpellE">click</span>"</span><span style="color: #5c5c5c;">,</span><span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 3;"> </span><span style="mso-tab-count: 3;"> </span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Note que <span class="SpellE">addEventListener</span> le agrega el evento a la ventana.
Agregaremos el evento a un botón, de la siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><!DOCTYPE</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">meta</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Tutorial <span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">button</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">id</span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">elBoton</span></span><span style="color: black;">"</span><span style="color: blue;">></span><span style="color: black;">Hacer <span class="SpellE">click</span></span><span style="color: blue;"></</span><span class="SpellE"><span style="color: #a31515;">button</span></span><span style="color: blue;">></span><span style="color: black;"> </span><span style="color: green;"><!-- Se crea un nuevo <span class="SpellE">boton</span>
--></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">script</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 1;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span>
<span style="color: black;">texto</span> <span style="color: #5c5c5c;">=</span> <span style="color: #005c00;">"Hola Mundo"</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span>
<span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">event</span></span><span style="color: #5c5c5c;">){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">panel</span>
<span style="color: #5c5c5c;">=</span> <span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">getElementById</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"2013"</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><span style="color: black;">panel</span><span style="color: #5c5c5c;">.</span><span style="color: black;">innerHTML</span></span>
<span style="color: #5c5c5c;">=</span> <span style="color: black;">texto</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span style="color: black;">texto</span><span style="color: #5c5c5c;">+=</span><span style="color: #005c00;">" Hola
Mundo"</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">window</span><span style="color: #5c5c5c;">.</span><span style="color: black;">addEventListener</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"<span class="SpellE">keydown</span>"</span><span style="color: #5c5c5c;">,</span><span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">);</span> <span style="color: green;">// Se le agrega un <span class="SpellE">listener</span> a la pagina</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span>
<span class="SpellE"><span style="color: black;">boton</span></span> <span style="color: #5c5c5c;">=</span> <span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">getElementById</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"<span class="SpellE">elBoton</span>"</span><span style="color: #5c5c5c;">);</span>
<span style="color: green;">// Se busca el botón ya creado</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">boton</span><span style="color: #5c5c5c;">.</span><span style="color: black;">addEventListener</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"<span class="SpellE">click</span>"</span><span style="color: #5c5c5c;">,</span><span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">)</span> <span style="color: green;">// Se le agrega un <span class="SpellE">listener</span> al botón buscado</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">div</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">id</span><span style="color: black;">="</span><span style="color: blue;">2013</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">div</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Para este caso
tuvimos que declarar el botón antes del script. Para evitar tener que hacer
esto, podemos usar <span class="SpellE">javascript</span> dentro de los
atributos del botón y hacer referencia a la función:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><!DOCTYPE</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">meta</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Tutorial <span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">script</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 1;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span>
<span style="color: black;">texto</span> <span style="color: #5c5c5c;">=</span> <span style="color: #005c00;">"Hola Mundo"</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span>
<span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">event</span></span><span style="color: #5c5c5c;">){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">panel</span>
<span style="color: #5c5c5c;">=</span> <span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">getElementById</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"2013"</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><span style="color: black;">panel</span><span style="color: #5c5c5c;">.</span><span style="color: black;">innerHTML</span></span>
<span style="color: #5c5c5c;">=</span> <span style="color: black;">texto</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span style="color: black;">texto</span><span style="color: #5c5c5c;">+=</span><span style="color: #005c00;">" Hola
Mundo"</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">window</span><span style="color: #5c5c5c;">.</span><span style="color: black;">addEventListener</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"<span class="SpellE">keydown</span>"</span><span style="color: #5c5c5c;">,</span><span class="SpellE"><span style="color: black;">holaMundo</span></span><span style="color: #5c5c5c;">);</span> <span style="color: green;">// Se le agrega un <span class="SpellE">listener</span> a la pagina</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">button</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">id</span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">elBoton</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">onclick</span></span><span style="color: black;">="<span class="SpellE">holaMundo</span></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><b><span style="color: #0000c0;">this</span></b></span><span style="color: #5c5c5c;">)</span><span style="color: black;">"</span><span style="color: blue;">></span><span style="color: black;">Hacer <span class="SpellE">click</span></span><span style="color: blue;"></</span><span class="SpellE"><span style="color: #a31515;">button</span></span><span style="color: blue;">></span><span style="color: black;"> </span><span style="color: green;"><!-- Se crea un nuevo <span class="SpellE">boton</span>
--></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">div</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">id</span><span style="color: black;">="</span><span style="color: blue;">2013</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">div</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="335" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image017.png" width="895" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Esto también se
puede hacer si el script está en un archivo externo.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Algunos eventos
son:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l19 level1 lfo44; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span class="SpellE"><span style="font-family: "Courier New";">click</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l19 level1 lfo44; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span class="SpellE"><span style="font-family: "Courier New";">mouseover</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l19 level1 lfo44; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span class="SpellE"><span style="font-family: "Courier New";">keydown</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l19 level1 lfo44; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span class="SpellE"><span style="font-family: "Courier New";">mouseout</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Encontrará una
gran variedad de información sobre eventos e interfaces gráficas de cualquier
lenguaje de programación, realizando búsquedas en internet.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">---------------------------------------------------------------------------------------------------</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 6: Arreglos</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Para declarar
un arreglo y recorrerlo se hace de la siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="408" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image018.png" width="895" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 1;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span>
<span style="color: black;">cifras</span> <span style="color: #5c5c5c;">=</span> <span style="color: #5c5c5c;">[</span><span style="color: #004080;">0</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">1</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">2</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">3</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">4</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">5</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">6</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">7</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">8</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">9</span><span style="color: #5c5c5c;">];</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span class="SpellE"><b><span style="color: #0000c0;">for</span></b></span><span style="color: #5c5c5c;">(</span><span style="color: black;">algo</span> <b><span style="color: #0000c0;">in</span></b> <span style="color: black;">cifras</span><span style="color: #5c5c5c;">){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span style="color: black;">console</span><span style="color: #5c5c5c;">.</span><span style="color: black;">log</span><span style="color: #5c5c5c;">(</span><span style="color: black;">algo</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 1;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt; text-indent: -35.4pt;">
<br /></div>
<div class="MsoNoSpacing" style="text-indent: 1.35pt;">
<span style="font-family: "Courier New";">Usted puede crear un arreglo con cualquier tipo de datos. Use <span class="SpellE">push</span> para insertar elementos al final, y refiérase a su
posición para obtener el dato que se encuentra en dicha posición.</span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><!DOCTYPE</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">meta</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">Tutorial <span class="SpellE">Javascript</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">title</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">script</span><span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 1;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span> <span style="color: black;">elementos</span> <span style="color: #5c5c5c;">=</span> <b><span style="color: #0000c0;">new</span></b> <span class="SpellE"><span style="color: black;">Array</span></span><span style="color: #5c5c5c;">();</span>
<span style="color: green;">// creo un nuevo arreglo vacío</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span><span class="SpellE"><span style="color: black;">elementos</span><span style="color: #5c5c5c;">.</span><span style="color: black;">push</span></span><span style="color: #5c5c5c;">(</span><span style="color: #004080;">24722768</span><span style="color: #5c5c5c;">);</span> <span style="color: green;">// Introduzco un
número en la posición 0</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span><span class="SpellE"><span style="color: black;">elementos</span><span style="color: #5c5c5c;">.</span><span style="color: black;">push</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"Hola
Mundo"</span><span style="color: #5c5c5c;">);</span> <span style="color: green;">// Introduzco un <span class="SpellE">string</span> en la
posición 1</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span><span style="color: green;">// Imprimo los elementos según <span class="SpellE">sun</span>
índice</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span><span style="color: black;">console</span><span style="color: #5c5c5c;">.</span><span style="color: black;">log</span><span style="color: #5c5c5c;">(</span><span style="color: black;">elementos</span><span style="color: #5c5c5c;">[</span><span style="color: #004080;">0</span><span style="color: #5c5c5c;">]);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span><span style="color: black;">console</span><span style="color: #5c5c5c;">.</span><span style="color: black;">log</span><span style="color: #5c5c5c;">(</span><span style="color: black;">elementos</span><span style="color: #5c5c5c;">[</span><span style="color: #004080;">1</span><span style="color: #5c5c5c;">]);</span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span style="color: black;">console</span><span style="color: #5c5c5c;">.</span><span style="color: black;">log</span><span style="color: #5c5c5c;">(</span><span style="color: black;">elementos</span><span style="color: #5c5c5c;">[</span><span style="color: #004080;">2</span><span style="color: #5c5c5c;">]);</span> <span style="color: green;">// No existe nada
en esta <span class="SpellE">posicion</span>, error</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: black; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">body</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;"></</span><span class="SpellE"><span style="background: white; color: #a31515; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">html</span></span><span style="background: white; color: blue; font-family: "Courier New"; font-size: 10.0pt; mso-highlight: white;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt; text-indent: -35.4pt;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="406" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image019.png" width="890" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">---------------------------------------------------------------------------------------------------</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 7: Matriz con arreglos</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt; text-indent: -35.4pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt; text-indent: -35.4pt;">
<span style="font-family: "Courier New";">De esta forma se crean y recorren las
matrices:</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt; text-indent: -35.4pt;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><!DOCTYPE</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">meta</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Tutorial <span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">script</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span>
<span style="color: black;">matriz</span> <span style="color: #5c5c5c;">=</span> <span style="color: #5c5c5c;">[[</span><span style="color: #004080;">1</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">2</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">3</span><span style="color: #5c5c5c;">],[</span><span style="color: #004080;">4</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">5</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">6</span><span style="color: #5c5c5c;">],[</span><span style="color: #004080;">7</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">8</span><span style="color: #5c5c5c;">,</span><span style="color: #004080;">9</span><span style="color: #5c5c5c;">]]</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">for</span></b></span><span style="color: #5c5c5c;">(</span><span style="color: black;">i</span> <span style="color: #5c5c5c;">=</span> <span style="color: #004080;">0</span><span style="color: #5c5c5c;">;</span> <span style="color: black;">i</span> <span style="color: #5c5c5c;"><</span> <span class="SpellE"><span style="color: black;">matriz</span><span style="color: #5c5c5c;">.</span><span style="color: black;">length</span><span style="color: #5c5c5c;">;</span><span style="color: black;">i</span></span><span style="color: #5c5c5c;">++){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">for</span></b></span><span style="color: #5c5c5c;">(</span><span style="color: black;">j</span> <span style="color: #5c5c5c;">=</span> <span style="color: #004080;">0</span><span style="color: #5c5c5c;">;</span> <span style="color: black;">j</span> <span style="color: #5c5c5c;"><</span> <span style="color: black;">matriz</span><span style="color: #5c5c5c;">[</span><span style="color: black;">i</span><span style="color: #5c5c5c;">].</span><span class="SpellE"><span style="color: black;">length</span><span style="color: #5c5c5c;">;</span><span style="color: black;">j</span></span><span style="color: #5c5c5c;">++){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 5;"> </span><span style="color: black;">console</span><span style="color: #5c5c5c;">.</span><span style="color: black;">log</span><span style="color: #5c5c5c;">(</span><span style="color: black;">matriz</span><span style="color: #5c5c5c;">[</span><span style="color: black;">i</span><span style="color: #5c5c5c;">][</span><span style="color: black;">j</span><span style="color: #5c5c5c;">]);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNoSpacing" style="text-indent: 1.35pt;">
<span style="font-family: "Courier New";">Heredan la naturaleza de los arreglos, así la lista puede
tener <span class="SpellE">sublistas</span>, números, <span class="SpellE">strings</span>,
<span class="SpellE">booleans</span>, objetos y todo los tipos de datos.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">---------------------------------------------------------------------------------------------------</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 8: <span class="SpellE">Join</span> y Split,
<span class="SpellE">Strings</span> y arreglos</span></div>
<div align="center" class="MsoNoSpacing" style="margin-left: -1.35pt; text-align: center; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNoSpacing" style="text-indent: 1.35pt;">
<span style="font-family: "Courier New";">Suponga que usted tiene una lista de palabras y quiere unirlas
todas de manera que obtenga una frase, eso lo hace con <span class="SpellE">join</span>:</span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><!DOCTYPE</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">meta</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Tutorial <span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">script</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span class="GramE"><b><span style="color: #0000c0;">var</span></b></span></span> <span class="SpellE"><span style="color: black;">listaPalabras</span></span> <span style="color: #5c5c5c;">=</span>
<span style="color: #5c5c5c;">[</span><span style="color: #005c00;">"fuiste
"</span><span style="color: #5c5c5c;">,</span><span style="color: #005c00;">"anoche
"</span><span style="color: #5c5c5c;">,</span><span style="color: #005c00;">"donde
"</span><span style="color: #5c5c5c;">,</span><span style="color: #005c00;">"<span class="SpellE">dany</span> "</span><span style="color: #5c5c5c;">,</span><span style="color: #005c00;">"? "</span><span style="color: #5c5c5c;">]</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span>
<span class="SpellE"><span style="color: black;">fraseDesdeLista</span></span> <span style="color: #5c5c5c;">=</span> <span class="SpellE"><span style="color: black;">listaPalabras</span><span style="color: #5c5c5c;">.</span><span style="color: black;">join</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">""</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">" "</span><span style="color: #5c5c5c;">,</span><span class="SpellE"><span style="color: black;">fraseDesdeLista</span></span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="405" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image020.png" width="893" /></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<span style="font-family: "Courier New";">De lo contrario, si tiene un <span class="SpellE">string</span> y quiere construir una lista:</span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><!DOCTYPE</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">meta</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Tutorial <span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">script</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span class="GramE"><b><span style="color: #0000c0;">var</span></b></span></span> <span style="color: black;">frase</span>
<span style="color: #5c5c5c;">=</span> <span style="color: #005c00;">"fuiste
anoche donde <span class="SpellE">dany</span> ?"</span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span>
<span class="SpellE"><span style="color: black;">listaDesdeFrase</span></span> <span style="color: #5c5c5c;">=</span> <span class="SpellE"><span style="color: black;">frase</span><span style="color: #5c5c5c;">.</span><span style="color: black;">split</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">" "</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">document</span><span style="color: #5c5c5c;">.</span><span style="color: black;">write</span></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">listaDesdeFrase</span></span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNoSpacing" style="text-indent: 1.35pt;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="410" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/geovannMendezJavascriptTutorialBasico_archivos/image021.png" width="894" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">---------------------------------------------------------------------------------------------------</span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 9: Objetos</span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNoSpacing" style="text-indent: 1.35pt;">
<span style="font-family: "Courier New";">Como fue mencionado en la parte 4, la forma extraña de
declarar funciones, es realmente para declarar objetos:</span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><!DOCTYPE</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">html</span></span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">meta</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span style="color: red;">http-<span class="SpellE">equiv</span></span><span style="color: black;">="</span><span style="color: blue;">Content-<span class="SpellE">Type</span></span><span style="color: black;">"</span> <span class="SpellE"><span style="color: red;">content</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">html</span>; <span class="SpellE">charset</span>=UTF-8</span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="color: black; font-family: "Courier New"; font-size: 10.0pt;">Tutorial <span class="SpellE">Javascript</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">title</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">head</span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"><</span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">script</span><span style="font-family: "Courier New"; font-size: 10.0pt;"> <span class="SpellE"><span style="color: red;">type</span></span><span style="color: black;">="</span><span class="SpellE"><span style="color: blue;">text</span></span><span style="color: blue;">/<span class="SpellE">javascript</span></span><span style="color: black;">"</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">var</span></b></span>
<span style="color: black;">persona</span> <span style="color: #5c5c5c;">=</span>
<b><span style="color: #0000c0;">new</span></b> <span style="color: black;">humano</span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"<span class="SpellE">stephen</span>"</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span>
<span style="color: black;">humano</span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">nombreRecibido</span></span><span style="color: #5c5c5c;">){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span style="color: green;">// Atributos</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">this</span></b><span style="color: #5c5c5c;">.</span><span style="color: black;">nombre</span></span><span style="color: #5c5c5c;">=</span><span class="SpellE"><span style="color: black;">nombreRecibido</span></span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">this</span></b><span style="color: #5c5c5c;">.</span><span style="color: black;">edad</span></span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span style="color: green;">// Funciones
miembro o métodos</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">this</span></b><span style="color: #5c5c5c;">.</span><span style="color: black;">saludar</span></span> <span style="color: #5c5c5c;">=</span>
<span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span><span style="color: #5c5c5c;">(){</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 5;"> </span><span class="SpellE"><span style="color: black;">alert</span></span><span style="color: #5c5c5c;">(</span><span style="color: #005c00;">"hola"</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">this</span></b><span style="color: #5c5c5c;">.</span><span style="color: black;">setEdad</span></span> <span style="color: #5c5c5c;">=</span>
<span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">edadRecibida</span></span><span style="color: #5c5c5c;">){</span> <span style="color: green;">// Ejemplo de set</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 5;"> </span><span class="SpellE"><b><span style="color: #0000c0;">this</span></b><span style="color: #5c5c5c;">.</span><span style="color: black;">edad</span></span> <span style="color: #5c5c5c;">=</span> <span class="SpellE"><span style="color: black;">edadRecibida</span></span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span class="SpellE"><b><span style="color: #0000c0;">this</span></b><span style="color: #5c5c5c;">.</span><span style="color: black;">getEdad</span></span> <span style="color: #5c5c5c;">=</span>
<span class="SpellE"><b><span style="color: #0000c0;">function</span></b></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">edadRecibida</span></span><span style="color: #5c5c5c;">){</span> <span style="color: green;">// ejemplo de <span class="SpellE">get</span></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 5;"> </span><span class="SpellE"><b><span style="color: #0000c0;">return</span></b></span> <span class="SpellE"><b><span style="color: #0000c0;">this</span></b><span style="color: #5c5c5c;">.</span><span style="color: black;">edad</span></span><span style="color: #5c5c5c;">;</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 4;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span style="color: #5c5c5c;">}</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">persona</span><span style="color: #5c5c5c;">.</span><span style="color: black;">saludar</span></span><span style="color: #5c5c5c;">();</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">persona</span><span style="color: #5c5c5c;">.</span><span style="color: black;">setEdad</span></span><span style="color: #5c5c5c;">(</span><span style="color: #004080;">16</span><span style="color: #5c5c5c;">);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span><span class="SpellE"><span style="color: black;">alert</span></span><span style="color: #5c5c5c;">(</span><span class="SpellE"><span style="color: black;">persona</span><span style="color: #5c5c5c;">.</span><span style="color: black;">getEdad</span></span><span style="color: #5c5c5c;">());</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span><span style="color: blue;"></</span><span style="color: #a31515;">script</span><span style="color: blue;">></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: black; font-family: "Courier New"; font-size: 10.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">body</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;"></</span><span class="SpellE"><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">html</span></span><span style="color: blue; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: "Courier New"; font-size: 10.0pt;"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNoSpacing" style="text-indent: 1.35pt;">
<span style="font-family: "Courier New";">Como se puede asumir <span class="SpellE">Javascript</span> no
tiene herencia ni polimorfismo de forma nativa, sino que hay que implementarlo.</span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">---------------------------------------------------------------------------------------------------</span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 10: Conclusión</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="text-indent: 1.35pt;">
<span style="font-family: "Courier New";">He decidido finalizar este tutorial en esta parte, porque
realmente la utilidad de <span class="SpellE">Javascript</span> es la creación
y utilización de librerías para lograr acabados muy bien logrados.</span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<span style="font-family: "Courier New";">En los tutoriales siguientes se tratarán
los temas avanzados de <span class="SpellE">Javascript</span>, como <span class="SpellE">JQuery</span>, AJAX, JSON, y demás elementos.</span></div>
<div class="MsoNoSpacing" style="margin-left: -1.35pt; text-indent: 1.35pt;">
<br /></div>
Anonymoushttp://www.blogger.com/profile/14594151912661164519noreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-10093448861342012132013-02-08T20:48:00.004-06:002013-02-08T20:48:56.000-06:00Lógica Humana, Parte 1<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="MapleAutoBookmark1"></a><br />
<div align="center">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="MapleAutoBookmark1"><span style="color: black; font-family: Arial;"><u><img align="middle" alt="" border="0" height="58" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_1.gif" width="548" /></u></span> </a></div>
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="MapleAutoBookmark1">
<div align="center">
<span style="color: black; font-family: Times New Roman; font-size: small;"><img align="middle" alt="`*`(Geovanny, `*`(Méndez, `*`(Marín))), `*`(Ingeniería, `*`(en, `*`(Computación)))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_2.gif" width="537" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: x-large;"><img align="middle" alt="" border="0" height="22" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_3.gif" width="931" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Times New Roman; font-size: small;"><img align="middle" alt="`*`(Typesetting:-delayDotProduct(`*`(Hace, `*`(tiempo, `*`(dejé, `*`(de, `*`(buscar))))), Hubo), `*`(un, `*`(tiempo, `*`(en, `*`(el, `*`(que, `*`(quise, `*`(comprender, `*`(porqué, `*`(las))))))))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_4.gif" width="838" /></span> </div>
<div align="left">
<span style="color: black; font-family: Times New Roman; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_5.gif" width="865" /></span> </div>
<div align="left">
<span style="color: black; font-family: Times New Roman; font-size: small;"><img align="middle" alt="`*`(la, `*`(inducción)), `*`(los, `*`(contraejemplos)), `*`(la, `*`(solución, `*`(vacía))), `*`(la, `*`(prueba, `*`(trivial))), `*`(y, `*`(todas, `*`(esas)))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_6.gif" width="799" /></span> </div>
<div align="left">
<span style="color: black; font-family: Times New Roman; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_7.gif" width="707" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Times New Roman; font-size: small;"><img align="middle" alt="`*`(El, `*`(cálculo)), `*`(los, `*`(espacios, `*`(vectoriales, `*`(y, `*`(la, `*`(probabilidad, `*`(me, `*`(hizo, `*`(olvidarme, `*`(por, `*`(completo, `*`(de))))))))))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_8.gif" width="862" /></span> </div>
<div align="left">
<span style="color: black; font-family: Times New Roman; font-size: small;"><img align="middle" alt="Typesetting:-delayDotProduct(`*`(este, `*`(objetivo)), Pero), `*`(por, `*`(alguna, `*`(razón))), `*`(lo, `*`(que, `*`(no, `*`(pude, `*`(encontrar, `*`(aquella, `*`(vez))))))), `*`(apareció, `*`(de))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_9.gif" width="867" /></span> </div>
<div align="left">
<span style="color: black; font-family: Times New Roman; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_10.gif" width="400" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(El, `*`(otro, `*`(día, `*`(buscando, `*`(un, `*`(poco, `*`(sobre, `*`(estructuras, `*`(algebraicas))))))))), `*`(me, `*`(encontré, `*`(con, `*`(algo))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_11.gif" width="818" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Typesetting:-delayDotProduct(`*`(`*`(`*`(verdaderamente, `*`(oscuro, `*`(y, `*`(extraño, `*`(desde, `*`(el, `*`(punto, `*`(de, `*`(vista))))))))), de), `*`(legibilidad)), Era), `*`(una))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_12.gif" width="795" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Typesetting:-delayDotProduct(`*`(`*`(`*`(demostración, `*`(con, `*`(símbolos))), con), `*`(casi, `*`(ninguna, `*`(descripción, `*`(de, `*`(por, `*`(medio))))))), Quité), `*`(la, `*`(vista))), como" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_13.gif" width="905" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(quien, `*`(no, `*`(quiere, `*`(la, `*`(cosa, `*`(y, `*`(seguí, `*`(buscando, `*`(lo, `*`(que, `*`(me, `*`(interesaba)))))))))))), `*`(hasta, `*`(que, `*`(hallé, `*`(la, `*`(información)))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_14.gif" width="928" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_15.gif" width="414" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="Pero, `*`(cuando, `*`(me, `*`(acordé))), `*`(así, `*`(de, `*`(manera, `*`(fugaz, `*`(no, `*`(sé, `*`(porqué))))))), `*`(pensé, `*`(por, `*`(un, `*`(momento, `*`(que)))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_16.gif" width="875" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_17.gif" width="828" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Typesetting:-delayDotProduct(`*`(Volví, `*`(a, `*`(encontrar, `*`(la, `*`(demostración))))), Allí), `*`(estaba)), `*`(`*`(`*`(igual, `*`(de)), " border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_18.gif" width="888" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(me, `*`(hacía, `*`(muy, `*`(familiar)))), `*`(`*`(`*`(como, `*`(las, `*`(demostraciones, `*`(con)))), las), `*`(reglas, `*`(de, `*`(inferencia, `*`(que, `*`(hice))))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_19.gif" width="847" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Typesetting:-delayDotProduct(`*`(cuando, `*`(estudié, `*`(las, `*`(inferencias, `*`(en, `*`(el, `*`(curso, `*`(de, `*`(Matemática, `*`(Discreta)))))))))), Era), `*`(parecido)), pero" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_20.gif" width="849" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`*`(no, `*`(comprendía, `*`(lo, `*`(que, `*`(trataba, `*`(de, `*`(explicar))))))), lo), `*`(cual, `*`(era, `*`(raro, `*`(porque, `*`(yo, `*`(creí, `*`(que, `*`(con, `*`(esas))))))))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_21.gif" width="843" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_22.gif" width="345" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Lo, `*`(que, `*`(realmente, `*`(estaba, `*`(leyendo, `*`(era, `*`(una, `*`(demostración, `*`(de, `*`(lógica, `*`(pura))))))))))), `*`(para, `*`(un, `*`(lenguaje)))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_23.gif" width="875" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_24.gif" width="770" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`*`(Me, `*`(enseñaron, `*`(a, `*`(demostrar, `*`(en, `*`(la, `*`(ingeniería, `*`(de)))))))), la), `*`(universidad)), `*`(pero, `*`(nunca, `*`(me, `*`(enseñaron, `*`(a)))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_25.gif" width="888" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_26.gif" width="628" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_27.gif" width="933" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`*`(detrás, `*`(del, `*`(álgebra, `*`(relacional, `*`(de, `*`(las, `*`(bases))))))), de), `*`(datos)), `*`(del, `*`(álgebra, `*`(booleana, `*`(y, `*`(la, `*`(aritmética))))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_28.gif" width="871" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="binaria, `*`(Typesetting:-delayDotProduct(`*`(`*`(`*`(de, `*`(los, `*`(conectivos, `*`(lógicos, `*`(y))))), los), `*`(espacios, `*`(vectoriales, `*`(había, `*`(algo))))), Y), `*`(esto, `*`(fue, `*`(lo..." border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_29.gif" width="907" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_30.gif" width="207" /></span> </div>
<div align="center">
<br /></div>
<div align="center">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Conceptos, `*`(Básicos))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_31.gif" width="204" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="135" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_32.gif" width="400" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Ejemplo, `*`(de, `*`(conjunto, `*`(finito)))); -1; A = `*`({0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, `*`(las, `*`(cifras, `*`(de, `*`(la, `*`(base, `*`(decimal)))))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_33.gif" width="861" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Ejemplo, `*`(de, `*`(conjunto, `*`(Infinito, `*`(Numerable))))); -1; A = `*`({-2, -1, 0, 1, 2, () .. ()}, `*`(los, `*`(números, `*`(naturales))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_34.gif" width="882" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Ejemplo, `*`(de, `*`(conjunto, `*`(Infinito, `*`(No, `*`(Numerable)))))); -1; real" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_35.gif" width="464" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="121" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_36.gif" width="226" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_37.gif" width="354" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Ejemplo, `*`(de, `*`(notación, `*`(infija)))); -1; `+`(3, 5)" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_38.gif" width="340" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_39.gif" width="368" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_40.gif" width="900" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(tenga, `*`(sentido))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_41.gif" width="147" /></span> </div>
<div align="left">
<br /></div>
<div align="center">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Lenguaje, `*`(Formal))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_42.gif" width="180" /></span> </div>
<div align="center">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`⨁`(Constantes)" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_43.gif" width="170" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="81" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_44.gif" width="362" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<br /></div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="991" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_45.gif" width="641" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="135" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_46.gif" width="834" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="81" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_47.gif" width="506" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="81" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_48.gif" width="347" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_49.gif" width="344" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_50.gif" width="361" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_51.gif" width="752" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`+`(`*`(1., `*`(Las, `*`(variables, `*`(v[i], `*`(son, `*`(siempre, `*`(infinitas))))))))" border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_52.gif" width="394" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`+`(`*`(2., `*`(Las, `*`(constantes, `*`(c[i], `*`(pueden, `*`(o, `*`(no, `*`(existir))))))))), `*`(y, `*`(en, `*`(caso, `*`(de, `*`(existir))))), `*`(pueden, `*`(ser, `*`(infinitas)))" border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_53.gif" width="796" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`+`(`*`(3., `*`(Un, `*`(lenguaje, `*`(está, `*`(representado, `*`(por, `*`(L[i], `*`(o, `*`(simplemente)))))))))), por), `*`(L))" border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_54.gif" width="600" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="39" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_55.gif" width="432" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="39" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_56.gif" width="451" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`+`(`*`(6., `*`(L, `*`(puede, `*`(ser, `*`(un, `*`(lenguaje, `*`(con, `*`(descriptor, `*`(o)))))))))), un), `*`(lenguaje, `*`(sin, `*`(descriptor, `*`(l)))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_57.gif" width="700" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`+`(`*`(7., `*`(L, `*`(con, `*`(descriptor, `*`(es)))))), L), `*`(pero, `*`(sin, `*`(descriptor))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_58.gif" width="428" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`+`(`*`(8., `*`(L, `*`(sin, `*`(descriptor, `*`(es)))))), L), `*`(pero, `*`(con, `*`(descriptor))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_59.gif" width="428" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_60.gif" width="422" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_61.gif" width="328" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="22" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_62.gif" width="931" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Ejemplo, `*`(de, `*`(Lenguaje, `*`(Formal))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_63.gif" width="295" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_64.gif" width="763" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_65.gif" width="857" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(Definición), `*`(de, `*`(Variables))); -1" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_66.gif" width="300" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="0, 1, 11, 111, 1111, () .. ()" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_67.gif" width="276" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="donde" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_68.gif" width="77" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="Variables = {v[0] = 0, v[1] = 1, v[2] = 11, v[3] = 111, v[4] = 1111, v[n] = 1111 .. `^`(n, 0), () .. ()}" border="0" height="52" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_69.gif" width="787" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_70.gif" width="330" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="Constantes = {c[0], c[1], c[2]}" border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_71.gif" width="258" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(No), `*`(propongamos, `*`(ningún, `*`(funtor, `*`(por, `*`(el, `*`(momento)))))))" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_72.gif" width="518" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="Funtores = {}" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_73.gif" width="147" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(Conectores), `*`(lógicos)), `*`(los, `*`(dos, `*`(básicos)))" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_74.gif" width="406" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_75.gif" width="124" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_76.gif" width="154" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(Cuantificador), `*`(básico))" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_77.gif" width="257" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_78.gif" width="271" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: red; font-family: Arial; font-size: small;"><strong><img align="middle" alt="`*`(`⨁`(A), `*`(este, `*`(lenguaje, `*`(la, `*`(llamaremos, `*`(G, `*`(y, `*`(tendrá, `*`(un, `*`(descriptor))))))))))" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_79.gif" width="591" /></strong></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Descriptor, `*`(delta))" border="0" height="30" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_80.gif" width="138" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(El, `*`(lenguaje, `*`(sin, `*`(descriptor, `*`(será, `*`(G))))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_81.gif" width="331" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`*`(Existen, `*`(dos, `*`(tipos, `*`(de, `*`(cadenas))))), de), `*`(signos))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_82.gif" width="399" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="135" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_83.gif" width="718" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_84.gif" width="553" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_85.gif" width="707" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_86.gif" width="527" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_87.gif" width="898" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_88.gif" width="909" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_89.gif" width="532" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Typesetting:-delayDotProduct(`*`(Typesetting:-delayDotProduct(`*`(Otro, `*`(ejemplo, `*`(son, `*`(las, `*`(jugadas, `*`(del, `*`(ajedrez))))))), Hay), `*`(muchas, `*`(jugadas, `*`(que, `*`(no, `*`..." border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_90.gif" width="907" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_91.gif" width="523" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_92.gif" width="544" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`*`(Ejemplo, `*`(de, `*`(cadena))), de), `*`(signos))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_93.gif" width="302" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt=" not 01100 c[2] implies implies " border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_94.gif" width="187" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_95.gif" width="741" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_96.gif" width="347" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_97.gif" width="396" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_98.gif" width="372" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_99.gif" width="372" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_100.gif" width="398" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_101.gif" width="383" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="47" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_102.gif" width="383" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_103.gif" width="918" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_104.gif" width="374" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(1.), `*`(v[i], `*`(es, `*`(un, `*`(término)))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_105.gif" width="235" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(2.), `*`(c[i], `*`(es, `*`(un, `*`(término)))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_106.gif" width="235" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(3.), `*`(`^`(R[i], n), `*`(t[1]))), () .. (), `*`(t[n], `*`(es, `*`(una, `*`(fórmula))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_107.gif" width="341" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(4.), `*`(`^`(F[i], n), `*`(t[1]))), () .. (), `*`(t[n], `*`(es, `*`(un, `*`(término))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_108.gif" width="327" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_109.gif" width="341" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`⨁`(6.) implies `*`(Fórmula[alpha], `*`(Fórmula[beta], `*`(es, `*`(una, `*`(fórmula)))))" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_110.gif" width="443" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_111.gif" width="366" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(8.), `*`(lv[i], `*`(Fórmula[alpha], `*`(es, `*`(una, `*`(fórmula))))))" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_112.gif" width="341" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(A, `*`(continuación, `*`(se, `*`(explica, `*`(como, `*`(leer, `*`(estas, `*`(reglas)))))))); -1" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_113.gif" width="504" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(1.), `*`(v[i], `*`(es, `*`(un, `*`(término)))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_114.gif" width="235" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_115.gif" width="293" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(2.), `*`(c[i], `*`(es, `*`(un, `*`(término)))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_116.gif" width="235" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_117.gif" width="425" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(3.), `*`(`^`(R[i], n), `*`(t[1]))), () .. (), `*`(t[n], `*`(es, `*`(una, `*`(fórmula))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_118.gif" width="341" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="39" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_119.gif" width="891" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(4.), `*`(`^`(F[i], n), `*`(t[1]))), () .. (), `*`(t[n], `*`(es, `*`(un, `*`(término))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_120.gif" width="327" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="39" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_121.gif" width="901" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_122.gif" width="341" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_123.gif" width="526" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`⨁`(6.) implies `*`(Fórmula[alpha], `*`(Fórmula[beta], `*`(es, `*`(una, `*`(fórmula)))))" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_124.gif" width="443" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="43" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_125.gif" width="532" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_126.gif" width="366" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Para, `*`(cada, `*`(variable, `*`(v[i], `*`(del, `*`(lenguaje, `*`(G))))))), `*`(el, `*`(resultado, `*`(de, `*`(yuxtaponer, `*`(v[i], `*`(con, `*`(una, `*`(Fórmula, `*`(es)))))))))" border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_127.gif" width="852" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_128.gif" width="224" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(8.), `*`(lv[i], `*`(Fórmula[alpha], `*`(es, `*`(una, `*`(fórmula))))))" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_129.gif" width="341" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`*`(La, `*`(descripción, `*`(del, `*`(resultado, `*`(de, `*`(yuxtaponer, `*`(una, `*`(variable, `*`(v[i], `*`(con)))))))))), una), `*`(fórmula, `*`(es, `*`(también, `*`(una)))))" border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_130.gif" width="894" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_131.gif" width="95" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Note, `*`(que)); -1" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_132.gif" width="122" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_133.gif" width="768" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_134.gif" width="786" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_135.gif" width="840" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_136.gif" width="840" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_137.gif" width="752" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_138.gif" width="772" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_139.gif" width="805" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Basado, `*`(en, `*`(estas, `*`(reglas, `*`(intentemos, `*`(verificar, `*`(si, `*`(la, `*`(siguiente, `*`(es, `*`(una, `*`(cadena, `*`(con, `*`(sentido)))))))))))))); -1" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_140.gif" width="861" /></span> </div>
<div align="left">
<br /></div>
<div align="center">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="48" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_141.gif" width="328" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Veamos, `*`(la, `*`(estructura, `*`(general, `*`(de, `*`(lo, `*`(que, `*`(queremos, `*`(verificar, `*`(como, `*`(fórmula))))))))))); -1" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_142.gif" width="738" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`*`(Cuantificador, `*`(Variable, `*`(Implicador, `*`(Relator)))), Variable), `*`(Constante, `*`(Relator, `*`(Variable))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_143.gif" width="789" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_144.gif" width="889" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_145.gif" width="366" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_146.gif" width="834" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_147.gif" width="892" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_148.gif" width="849" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`⨁`(6.) implies `*`(Fórmula[alpha], `*`(Fórmula[beta], `*`(es, `*`(una, `*`(fórmula)))))" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_149.gif" width="443" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_150.gif" width="632" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_151.gif" width="428" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_152.gif" width="818" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(3.), `*`(`^`(R[i], n), `*`(t[1]))), () .. (), `*`(t[n], `*`(es, `*`(una, `*`(fórmula))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_153.gif" width="341" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_154.gif" width="317" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_155.gif" width="212" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_156.gif" width="235" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_157.gif" width="322" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_158.gif" width="212" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(2.), `*`(c[i], `*`(es, `*`(un, `*`(término)))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_159.gif" width="235" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_160.gif" width="329" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_161.gif" width="818" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(3.), `*`(`^`(R[i], n), `*`(t[1]))), () .. (), `*`(t[n], `*`(es, `*`(una, `*`(fórmula))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_162.gif" width="341" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_163.gif" width="208" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_164.gif" width="212" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`⨁`(1.), `*`(v[i], `*`(es, `*`(un, `*`(término)))))" border="0" height="51" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_165.gif" width="235" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_166.gif" width="213" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Y, `*`(ahora, `*`(recogemos, `*`(los, `*`(resultados, `*`(como, `*`(recursivamente)))))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_167.gif" width="584" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`∴`(`*`(Relator, `*`(Variable))), `*`(es, `*`(una, `*`(fórmula))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_168.gif" width="374" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`∴`(`*`(Relator, `*`(Variable, `*`(Constante)))), `*`(es, `*`(una, `*`(fórmula))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_169.gif" width="483" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`*`(`∴`(Implicador), `*`(Relator, `*`(Variable, `*`(Constante)))), `*`(Relator, `*`(Variable))), `*`(es, `*`(una, `*`(fórmula))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_170.gif" width="783" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="24" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_171.gif" width="43" /><img align="middle" alt="`*`(`*`(`*`(Cuantificador, `*`(Variable, `*`(Implicador, `*`(Relator)))), Variable), `*`(Constante, `*`(Relator, `*`(Variable))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_172.gif" width="789" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(es, `*`(una, `*`(fórmula)))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_173.gif" width="160" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`∴`(Fórmula[alpha]), `*`(es, `*`(una, `*`(fórmula))))" border="0" height="43" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_174.gif" width="284" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Esto, `*`(sería, `*`(lo, `*`(mismo, `*`(que, `*`(decir))))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_175.gif" width="302" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`∴`(R[0]), `*`(v[0], `*`(es, `*`(una, `*`(fórmula)))))" border="0" height="45" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_176.gif" width="243" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_177.gif" width="626" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="45" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_178.gif" width="326" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="45" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_179.gif" width="381" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="48" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_180.gif" width="656" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`*`(Ahora, `*`(verificaremos, `*`(la, `*`(cadena, `*`(que, `*`(habíamos, `*`(dicho))))))), que), `*`(no, `*`(tenía, `*`(sentido)))), `*`(para, `*`(saber, `*`(porqué)))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_181.gif" width="906" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Typesetting:-delayDotProduct(`*`(razón, `*`(decíamos, `*`(que, `*`(no, `*`(tenía, `*`(sentido)))))), La), `*`(cadena, `*`(era, `*`(la, `*`(siguiente))))); -1" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_182.gif" width="660" /></span> </div>
<div align="left">
<br /></div>
<div align="center">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="43" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_183.gif" width="299" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(Esto, `*`(es, `*`(lo, `*`(mismo, `*`(que, `*`(decir)))))); -1" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_184.gif" width="295" /></span> </div>
<div align="left">
<br /></div>
<div align="center">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="43" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_185.gif" width="298" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(`*`(Solo, `*`(por, `*`(el, `*`(hecho, `*`(de, `*`(ver, `*`(dos, `*`(implicaciones, `*`(seguidas, `*`(al, `*`(final))))))))))), de), `*`(la, `*`(cadena))), `*`(sabemos, `*`(que))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_186.gif" width="867" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(Typesetting:-delayDotProduct(`*`(no, `*`(tiene, `*`(sentido))), Ya), `*`(que, `*`(tiene, `*`(notación, `*`(prefija, `*`(y, `*`(el, `*`(operador, `*`(va, `*`(antepuesto, `*`(a, `*`(los, `*`(tér..." border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_187.gif" width="892" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_188.gif" width="106" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`*`(`*`(Hagamoslo, `*`(con, `*`(las, `*`(reglas, `*`(para, `*`(saber, `*`(donde, `*`(se)))))))), " border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_189.gif" width="696" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_190.gif" width="341" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_191.gif" width="208" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_192.gif" width="442" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="40" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_193.gif" width="866" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="`⨁`(6.) implies `*`(Fórmula[alpha], `*`(Fórmula[beta], `*`(es, `*`(una, `*`(fórmula)))))" border="0" height="54" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_194.gif" width="443" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="23" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_195.gif" width="100" /></span> </div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_196.gif" width="325" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="Pero implies `*`(no, `*`(es, `*`(una, `*`(fórmula))))" border="0" height="27" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_197.gif" width="274" /></span> </div>
<div align="left">
<br /></div>
<div align="center">
<span style="color: black; font-family: Arial; font-size: small;"><img align="middle" alt="" border="0" height="43" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/logica_geovannyMendezMarin/L%C3%B3gica_198.gif" width="325" /></span> </div>
<div align="left">
<br /></div>
<div align="left">
<br /></div>
</a>Anonymoushttp://www.blogger.com/profile/14594151912661164519noreply@blogger.com0tag:blogger.com,1999:blog-2965431919898311135.post-7196120906826641592013-02-08T13:33:00.001-06:002013-02-08T13:33:45.920-06:00Tutorial HTML5 (Parte 1)<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Tutorial HTML5 (Parte 1)</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo36; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Parte 1: Algo de lo básico: HTML y HTML5,
TITLE, HEAD, SECTION, DOCTYPE, BODY, H1, H2, HEADER, LI, UL, ETC…</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo36; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Parte 2: <span class="SpellE">Canvas</span>,
¿adiós flash? Nota: Usaremos <span class="SpellE">Javascript</span> en este
punto.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo36; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Parte 3: Audio</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo36; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">4.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Parte 4: <span class="SpellE">Datalist</span>,
para formularios HTML5</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo36; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">5.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Parte 5: Figure y <span class="SpellE">Figcaption</span>,
mayor formalidad</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo36; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">6.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Parte 6: Mark, para dar énfasis Nota:
Usaremos CSS en este punto</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo36; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">7.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Parte 7: Meter, estadísticas representadas
gráficamente</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo36; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">8.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Parte 8: Output</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo36; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">9.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Parte 9: <span class="SpellE">ProgressBar</span></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l6 level1 lfo36; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">10.<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">Parte
10: Video</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="p1"><span style="font-family: "Courier New";">Algo de lo básico</span></a></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">En realidad es
HTML de lo que se trata este apartado de mi blog, pero lo llamo HTML5 porque
es una versión bastante popular por todas las mejoras que trae.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Usando un
editor HTML (puede buscar en su buscador la frase “editor HTML”) se escribe
el código, y luego puede ver el resultado en un navegador web.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Casi todos
saben qué es HTML. Realmente para poder hacer un hola mundo en HTML, basta
con escribirlo en el editor</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="383" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image001.png" width="892" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Guardarlo en
alguna carpeta, y verlo en el navegador:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="441" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image002.png" width="886" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Pero eso no se
la idea. Un hola mundo en C++, Java, <span class="SpellE">Python</span> y todos
esos lenguajes que también sirven para aplicaciones de escritorio,
simplemente se pueden escribir e imprimir. </span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Pero en HTML
hay cosas importantes como:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l7 level1 lfo34; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Compatibilidad con diferentes navegadores:
Internet Explorer, Mozilla Firefox, Opera, Safari, Google <span class="SpellE">Chrome</span>.</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l7 level1 lfo34; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Información del documento: Título,
descripción, etiquetas, autor, scripts, estilos.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Luego, HTML no
es un lenguaje de programación web, para eso están <span class="SpellE">Javascript</span>,
Perl, PHP, ASP y otros más.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">HTML lo que
hace es <span class="SpellE">renderizar</span> el resultado. Es la mayor parte
de la interfaz gráfica de la web, la otra parte la ocupa CSS3 y <span class="SpellE">Javascript</span>, así como otros componentes adicionales.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Para imprimir
un hola mundo, que sea “con todas las de la ley”, propongo algo similar a lo
siguiente:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="300" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image003.png" width="870" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Imprime lo
mismo, pero ahora tiene una gran cantidad de información. Los robots araña de
Google entran a todas las páginas y leen los meta. Entonces entienden que yo
usé <span class="SpellE">Editplus</span> para crear el documento, que lo hizo
un tal Geovanny Méndez Marín, revisa las palabras claves lo cual puede tener
varios usos taxonómicos. La descripción muestra precisamente eso.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">El resto de la
información, como el <span class="SpellE">Doctype</span> y el <span class="SpellE">charset</span> tiene un determinado significado también. Pero
esta podría ser un ejemplo de plantilla básica para un hola mundo en <span class="SpellE">html</span>.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Es nuestro
punto de partida, y a partir del mismo vamos a construir todo lo demás.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Primero, eso
del <span class="SpellE">Doctype</span> ya no es tan largo, ahora se usa de la
siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Con eso basta para saber que el documento es un HTML.</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Ahora le quiero agregar un título. El título forma parte de
algo llamado head. Entonces para poder agregar el título, también necesito el
head:</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Y el título:</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Ahora tanto para los que saben programar como para los que no,
el “esqueleto” de la interfaz gráfica está definida por <span class="SpellE">layouts</span>.
</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Por ejemplo para la siguiente aplicación programada en Java:</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="664" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image004.png" width="901" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Todo tiene un orden, está ordenado por paneles. Ese es el <span class="SpellE">layout</span>. El botón con la mano está en una sección, las
opciones para hacer <span class="SpellE">check</span> están en otro, la sección
de códigos para compartir es un cuadro de texto grande. Esto pasa también en
las páginas web. Por ejemplo, Facebook:</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="368" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image005.png" width="905" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Tiene una barra arriba que dice Facebook, en la que tiene un
buscador y unas opciones específicas.</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Tiene tres columnas: la primera dice Favoritos, Aplicaciones y
Páginas. La del centro es la que más usamos, donde se muestra el contenido y
donde publicamos. La tercera es donde vienen estadísticas e información
adicional que puede resultar interesante.</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Tanto la aplicación de Java, como Facebook, tienen una
estructura de paneles, donde se ordenan las secciones. La parte donde va el
logo de Facebook se llama <span class="SpellE">header</span>. Forma parte del
cuerpo de la página, llamado <span class="SpellE">body</span>:</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">En el cuerpo
podemos crear un contenedor DIV que tenga un identificador <span class="SpellE">header</span>:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><div id=“<span class="SpellE">header</span>”></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></div></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">En HTML5 ahora el <span class="SpellE">header</span> no se hace
de esa forma, sino que se crea de esta otra manera:</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">O sea antes se usaba un DIV y ahora se usa HEADER, ya la trae
por defecto el HTML5.</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Esta imagen te muestra las secciones de una página HTML5</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="356" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image006.png" width="888" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Para ellas se utilizan las etiquetas <span class="SpellE">html</span>
<<span class="SpellE">header</span>></<span class="SpellE">header</span>>,
<<span class="SpellE">footer</span>></<span class="SpellE">footer</span>>,
etcétera.</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Antes esto no se podía hacer y tenían que definirse a través
de identificadores con </span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";"><div id=“<span class="SpellE">footer</span>”></div></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";"><div id =“<span class="SpellE">nav</span>”></div></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";"><div id=“<span class="SpellE">aside</span>”></div></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="356" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image007.png" width="888" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">El <span class="SpellE">header</span> es el encabezado, donde
generalmente van el logo y opciones para inicio y cierre de sesión, así como
opciones de configuración. </span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">El <span class="SpellE">nav</span> sirve para colocar botones de
navegación del sitio mostrando las secciones más importantes. Algunas páginas
colocan las opciones del <span class="SpellE">nav</span> en las barras
laterales y no debajo del <span class="SpellE">header</span>. Sin embargo
cuando usted escriba el código, siempre escríbalo debajo del <span class="SpellE">header</span> si quiere que se cargue primero el <span class="SpellE">nav</span> (generalmente es lo deseado)</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">header</span>></<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">nav</span>></<span class="SpellE">nav</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Agreguemos una lista:</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">header</span>></<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">nav</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">ul</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span style="font-family: "Courier New";"><li><span class="SpellE">Item</span> 1</li></span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span style="font-family: "Courier New";"><li><span class="SpellE">Item</span> 2</li></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">ul</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">nav</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Cada ítem puede ser un botón que tenga una opción de
navegación. Por ejemplo en Facebook podría ser la opción de INICIO que nos
lleve al muro principal, el <span class="SpellE">Item</span> 2 podría ser
perfil que nos lleve a nuestro perfil. </span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">El <span class="SpellE">article</span> sirve para los post y
contenido principal, usado generalmente en blogs y sitios que funcionen en
modalidad con artículos</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">header</span>></<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">nav</span>></<span class="SpellE">nav</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">article</span>></<span class="SpellE">article</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Ese contenido generalmente es extraído de una base de datos o
de un archivo externo, generado por un lenguaje como PHP.</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">En un foro el <span class="SpellE">article</span> lo ocupa un
tema con sus respectivos comentarios, en <span class="SpellE">Youtube</span> lo
ocupa cada video con sus comentarios respectivos.</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Las diferentes partes de la página como tal se separan con el <span class="SpellE">tag</span> <<span class="SpellE">section</span>></<span class="SpellE">section</span>>. Esta no lleva estilos, a diferencia de los
DIV.</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">Cuando deba separar secciones, utilice SECTION, pero si debe
darles estilo, use DIV. En <span class="SpellE">section</span> usted puede
introducir al ARTICLE:</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">header</span>></<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">nav</span>></<span class="SpellE">nav</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">section</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">article</span>></<span class="SpellE">article</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">section</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="font-family: "Courier New";">El <span class="SpellE">aside</span> contiene información
importante con relación al <span class="SpellE">article</span> pero no es lo
que se quiere mostrar como elemento principal. Como tanto <span class="SpellE">article</span>
como <span class="SpellE">aside</span> hacen referencia al contenido, podemos
meter <span class="SpellE">aside</span> dentro de <span class="SpellE">section</span>:</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">header</span>></<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">nav</span>></<span class="SpellE">nav</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">section</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">article</span>></<span class="SpellE">article</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">aside</span>></<span class="SpellE">aside</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">section</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">El <span class="SpellE">aside</span> se puede colocar en el lado derecho, pero también
en el izquierdo, como lateral. En <span class="SpellE">Youtube</span> se
colocan los videos del mismo <span class="SpellE">uploader</span> quien
compartió el video, y otros videos relacionados con el contenido principal:</span></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<br /></div>
<div class="MsoNoSpacing" style="tab-stops: 566.25pt;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="893" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image008.png" width="905" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Luego, existen
los h que son los que se usan para títulos y subtítulos, y otra información
reconocida por los robots de los buscadores, que indexan nuestra página para
que los usuarios la puedan encontrar.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Por ejemplo</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l2 level1 lfo35; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">H1:
Título de la página</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l2 level1 lfo35; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">H2: Eslogan
de la página</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l2 level1 lfo35; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">H3:
Título del artículo</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l2 level1 lfo35; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">H4:
Subtítulo del artículo</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">En HTML5 estas
se colocan dentro de un HGROUP</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">hgroup</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span style="font-family: "Courier New";"><h1>Título de la página</h1></span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span style="font-family: "Courier New";"><h2>Eslogan de la página</h2></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">hgroup</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">nav</span>></<span class="SpellE">nav</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">section</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">article</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">hgroup</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 212.4pt;">
<span style="font-family: "Courier New";"><h3>Título del contenido principal</h3></span></div>
<div class="MsoNoSpacing" style="margin-left: 212.4pt;">
<span style="font-family: "Courier New";"><h4>Subtítulo del contenido principal</h4></span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">hgroup</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">article</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">aside</span>></<span class="SpellE">aside</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">section</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">En el H4 se
trata de describir muy específicamente de qué trata el contenido, para dar
soporte al título del artículo del H3.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">El HGROUP tiene
funciones no solo estéticas y de orden, sino que también sirven para hallar
contenido cuando se realiza una búsqueda. Todos los elementos en común dentro
de un HGROUP forman un solo elemento, y todas las palabras que contenga cada
H forman ese contenido. Si usted inserta en el buscador palabras que se
encuentren tanto en el título como en el subtítulo, se buscará por HGROUP.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Además no
tienes porqué usar el H3 y el H4 obligatoriamente, si quiere utilice el H1 y
el H2, siempre y cuando estén en diferentes HGROUP:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">hgroup</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span style="font-family: "Courier New";"><h1>Título de la página</h1></span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span style="font-family: "Courier New";"><h2>Eslogan de la página</h2></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">hgroup</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">header</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">nav</span>></<span class="SpellE">nav</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">section</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">article</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">hgroup</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 212.4pt;">
<span style="font-family: "Courier New";"><h1>Título del contenido principal</h1></span></div>
<div class="MsoNoSpacing" style="margin-left: 212.4pt;">
<span style="font-family: "Courier New";"><h2>Subtítulo del contenido principal</h2></span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">hgroup</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">article</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">aside</span>></<span class="SpellE">aside</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">section</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="p2"><span style="font-family: "Courier New";">Parte 2: </span></a><span class="SpellE"><span style="mso-bookmark: p2;"><span style="font-family: "Courier New";">Canvas</span></span></span><span style="mso-bookmark: p2;"><span style="font-family: "Courier New";"></span></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Dibujar cosas
es complicado. Ya el HTML trae cosas dibujadas como botones, formularios,
estilos (sombras, bordes, delineados), fuentes y demás.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Pero hay cosas
que nosotros queremos dibujar. Tanto en HTML como en cualquier lenguaje de
programación existe el CANVAS que sirve para dibujar cosas. Todo depende de
la creatividad de la persona.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Como es tan
complicado vamos a hacerlo sencillo, dibujando una figura básica: un
rectángulo:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="438" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image009.png" width="886" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Algunas cosas
que permite el CANVAS son:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l22 level1 lfo37; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Dibujos a partir de código</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l22 level1 lfo37; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Animaciones usando <span class="SpellE">Javascript</span></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l22 level1 lfo37; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Reproducción de video y audio</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l22 level1 lfo37; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">4.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Videojuegos</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Antes muchas de
estas cosas se realizaban con <span class="SpellE">Javascript</span>, pero
ahora se puede combinar el CANVAS con <span class="SpellE">Javascript</span>,
gracias a HTML5.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Esto ha
desplazado algunas otras tecnologías como Flash que era la que se usaba en
casi todos los sitios web, podría decirse que de manera estándar.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Voy a omitir
todo el código que no sea relevante para este ejemplo</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">canvas</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">canvas</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Para dibujar,
vamos a programar. No podemos programar en HTML5 porque no es un lenguaje de
programación, entonces usemos algún lenguaje que se pueda usar con HTML5.
Usaremos <span class="SpellE">Javascript</span>:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">canvas</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">canvas</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><script></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></script></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Tanto para <span class="SpellE">canvas</span> como para script debemos dar algunos atributos:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span class="SpellE"><span style="font-family: "Courier New";">Canvas</span></span><span style="font-family: "Courier New";">:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l8 level1 lfo38; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span class="SpellE"><span style="font-family: "Courier New";">Width</span></span><span style="font-family: "Courier New";">:
El ancho</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l8 level1 lfo38; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span class="SpellE"><span style="font-family: "Courier New";">Height</span></span><span style="font-family: "Courier New";">:
El alto</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l8 level1 lfo38; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">Id: Un
identificador</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l8 level1 lfo38; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">Un
mensaje por si se está usando un navegador que no soporta <span class="SpellE">canvas</span></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Script:</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l9 level1 lfo39; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">Tipo: <span class="SpellE">text</span>/<span class="SpellE">javascript</span></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l9 level1 lfo39; text-indent: -18.0pt;">
<span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Courier New";">Set de
caracteres: UTF-8</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Queda de la
siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">canvas</span> id=“<span class="SpellE">canvasG</span>”
<span class="SpellE">width</span>=“300” <span class="SpellE">height</span>=“300”></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";">Su navegador no es compatible con <span class="SpellE">canvas</span></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">canvas</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><script <span class="SpellE">type</span>=“<span class="SpellE">text</span>/<span class="SpellE">javascript</span>” <span class="SpellE">charset</span>=“utf-8”></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></script></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Ahora, vamos a
programar dentro del script. Declaramos una variable que encuentre al <span class="SpellE">canvas</span>, para eso fue que colocamos un identificador al <span class="SpellE">canvas</span>, llamado <span class="SpellE">canvasG</span>:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">canvas</span> id=“<span class="SpellE">canvasG</span>”
<span class="SpellE">width</span>=“300” <span class="SpellE">height</span>=“300”></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";">Su navegador no es compatible con <span class="SpellE">canvas</span></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">canvas</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><script <span class="SpellE">type</span>=“<span class="SpellE">text</span>/<span class="SpellE">javascript</span>” <span class="SpellE">charset</span>=“utf-8”></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span class="SpellE"><span style="font-family: "Courier New";">var</span></span><span style="font-family: "Courier New";"> <span class="SpellE">variableCanvas</span> = <span class="SpellE">document.getElementById</span>(“<span class="SpellE">canvasG</span>”);</span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></script></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Ahora,
dibujaremos la figura en dos dimensiones:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">canvas</span> id=“<span class="SpellE">canvasG</span>”
<span class="SpellE">width</span>=“300” <span class="SpellE">height</span>=“300”></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";">Su navegador no es compatible con <span class="SpellE">canvas</span></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">canvas</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"><script <span class="SpellE">type</span>=“<span class="SpellE">text</span>/<span class="SpellE">javascript</span>” <span class="SpellE">charset</span>=“utf-8”></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span class="SpellE"><span style="font-family: "Courier New";">var</span></span><span style="font-family: "Courier New";"> <span class="SpellE">variableCanvas</span> = <span class="SpellE">document.getElementById</span>(“<span class="SpellE">canvasG</span>”);</span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span class="SpellE"><span style="font-family: "Courier New";">var</span></span><span style="font-family: "Courier New";"> perspectiva = <span class="SpellE">variableCanvas.getContext</span>(“2d”);</span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span class="SpellE"><span style="font-family: "Courier New";">perspectiva.fillRect</span></span><span style="font-family: "Courier New";">(0,0,300,300); // x, y, <span class="SpellE">width</span>,
<span class="SpellE">height</span></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 106.2pt;">
<span style="font-family: "Courier New";"></script></span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Como puede ver,
se ha dibujado un rectángulo. <span class="SpellE"><span class="GramE">fillRect</span></span>
lo que hace es dibujar tantos pixeles como se indique. Acá se ha indicado que
el tamaño sea 300 de ancho y 300 de alto. Si quisiéramos dibujar algo como lo
siguiente:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="442" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image010.png" width="885" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">El código
sería:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><head></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></head></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">canvas</span> id="<span class="SpellE">canvasG</span>" <span class="SpellE">width</span>="300" <span class="SpellE">height</span>="300"></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span>Su navegador no
es compatible con <span class="SpellE">canvas</span></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">canvas</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><script <span class="SpellE">type</span>="<span class="SpellE">text</span>/<span class="SpellE">javascript</span>" <span class="SpellE">charset</span>="utf-8"></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><span class="SpellE">var</span> <span class="SpellE">variableCanvas</span> = <span class="SpellE">document.getElementById</span>("<span class="SpellE">canvasG</span>");</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><span class="SpellE">var</span> perspectiva = <span class="SpellE">variableCanvas.getContext</span>("2d");</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><span class="SpellE">for</span>(i =0; i < 300;i++){</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><span class="SpellE">if</span>(i%2==0){</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">perspectiva.fillRect</span>(i,0,1,300); // x, y, <span class="SpellE">width</span>, <span class="SpellE">height</span></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span>}</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>}</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></script></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span style="font-family: "Courier New";"></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span class="SpellE"><span style="font-family: "Courier New";">Javascript</span></span><span style="font-family: "Courier New";"> es un lenguaje débilmente <span class="SpellE">tipado</span>, así que tanto en las variables <span class="SpellE">var</span>, como en el <span class="SpellE">for</span>, no se
indica el tipo (un <span class="SpellE">int</span> en el caso del <span class="SpellE">for</span>).</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Podemos usar
dos bucles también, explotando todas las posibilidades de un lenguaje de
programación en lo que al cómputo se refiere:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="440" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image011.png" width="885" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">canvas</span>
id="<span class="SpellE">canvasG</span>" <span class="SpellE">width</span>="800"
<span class="SpellE">height</span>="800"></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>Su navegador no es compatible
con <span class="SpellE">canvas</span></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></<span class="SpellE">canvas</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><script <span class="SpellE">type</span>="<span class="SpellE">text</span>/<span class="SpellE">javascript</span>" <span class="SpellE">charset</span>="utf-8"></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><span class="SpellE">var</span>
<span class="SpellE">variableCanvas</span> = <span class="SpellE">document.getElementById</span>("<span class="SpellE">canvasG</span>");</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><span class="SpellE">var</span>
perspectiva = <span class="SpellE">variableCanvas.getContext</span>("2d");</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><span class="SpellE">for</span>(i
=0; i < 800;i++){<span style="mso-tab-count: 1;"> </span></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">for</span>(j
=0; j < 800;j++){</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 6;"> </span><span class="SpellE">if</span>(i%3==0 && j%3 == 0){</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 7;"> </span><span class="SpellE">perspectiva.fillRect</span>(i,j,1,1); // x, y, <span class="SpellE">width</span>, <span class="SpellE">height</span></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 6;"> </span>}</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span>}</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span>}</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></script></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="p3"><span style="font-family: "Courier New";">Parte 3: Audio</span></a></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img height="442" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image012.png" width="886" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Para agregar
música o audio en HTML5 se hace de la siguiente forma.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Primero que
nada, usar MP3 es lo más fácil, sería genial poder usarlo, y se puede, pero
no es compatible con todos los navegadores, de hecho solo con la minoría.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">El audio que se
utiliza tiene extensión OGG.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Para convertir
un MP3 a OGG, yo uso <span class="SpellE">Audacity</span> es gratis y liviano,
abro el MP3 y lo guardo como OGG, así de fácil. Pero usted se puede complicar
como le guste.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Una vez tenemos
el archivo OGG, lo subimos a un sitio, como el FTP donde está nuestro sitio,
o cualquier sitio tipo Google Drive, <span class="SpellE">SkyDrive</span> o <span class="SpellE">Dropbox</span>, que permitan enlazar <span class="SpellE">directamene</span>
al archivo.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Si lo subes a <span class="SpellE">Sendspace</span>, Mega, <span class="SpellE">Mediafire</span> y
todos esos, no te va a servir, porque esos servidores no nos dan un enlace
directo sino un enlace de descarga donde tenemos que esperar y pasada la
espera comienza a descargar.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">También hay
buscadores de sonidos. En mi caso subí el archivo a Google Drive, el enlace
es el siguiente:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><a href="https://docs.google.com/uc?id=0B7WlerwTSO2-VGpuc1ZzWmkxenM">https://docs.google.com/uc?id=0B7WlerwTSO2-VGpuc1ZzWmkxenM</a></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Lo primero que
haremos es crear la etiqueta AUDIO</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><audio></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></audio></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Luego agregamos
el SOURCE, que es la fuente del archivo de audio:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><audio></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><<span class="SpellE">source</span>
</span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span class="SpellE"><span style="font-family: "Courier New";">src</span></span><span style="font-family: "Courier New";">=”<a href="https://docs.google.com/uc?id=0B7WlerwTSO2-VGpuc1ZzWmkxenM">https://docs.google.com/uc?id=0B7WlerwTSO2-VGpuc1ZzWmkxenM</a>”</span></div>
<div class="MsoNoSpacing" style="margin-left: 177.0pt;">
<span class="SpellE"><span style="font-family: "Courier New";">type</span></span><span style="font-family: "Courier New";">="audio/<span class="SpellE">ogg</span>"></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span></<span class="SpellE">source</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></audio></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Si lo abrimos
en el navegador, se escuchará el sonido, pero no se mostrará nada. Para
construir el reproductor de audio se utilizarán controles, de la siguiente
forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><audio <span class="SpellE">controls</span>="<span class="SpellE">controls</span>"></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><<span class="SpellE">source</span>
</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">src</span>="https://docs.google.com/uc?id=0B7WlerwTSO2-VGpuc1ZzWmkxenM"
</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">type</span>="audio/<span class="SpellE">ogg</span>"></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span></<span class="SpellE">source</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></audio></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Esto mostrará
los controles de <span class="SpellE">play</span> y pause para el reproductor
así como el volumen y el progreso del sonido reproducido.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Si quiere que
se reproduzca de manera automática, usamos AUTPLAY:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><audio <span class="SpellE">controls</span>="<span class="SpellE">controls</span>" <span class="SpellE">autoplay</span>=”<span class="SpellE">autoplay</span>”></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><<span class="SpellE">source</span>
</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">src</span>="https://docs.google.com/uc?id=0B7WlerwTSO2-VGpuc1ZzWmkxenM"
</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">type</span>="audio/<span class="SpellE">ogg</span>"></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span></<span class="SpellE">source</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></audio></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Para que la
canción se repita, usamos LOOP</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><audio <span class="SpellE">controls</span>="<span class="SpellE">controls</span>" <span class="SpellE">autoplay</span>=”<span class="SpellE">autoplay</span>” <span class="SpellE">loop</span>=”<span class="SpellE">loop</span>”></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><<span class="SpellE">source</span>
</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><span style="mso-tab-count: 2;"> </span><span class="SpellE">src</span>="https://docs.google.com/uc?id=0B7WlerwTSO2-VGpuc1ZzWmkxenM"
</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">type</span>="audio/<span class="SpellE">ogg</span>"></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span></<span class="SpellE">source</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></audio></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Podemos también
asignar un valor a <span class="SpellE">preload</span>, con tres opciones
disponibles:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l33 level1 lfo40; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="font-family: "Courier New";">Auto</span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l33 level1 lfo40; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span class="SpellE"><span style="font-family: "Courier New";">Metadata</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l33 level1 lfo40; text-indent: -18.0pt;">
<span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span class="SpellE"><span style="font-family: "Courier New";">None</span></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">De manera que
se cargue de una u otra forma el sonido. El <span class="SpellE">autplay</span>
tiene mejor precedencia que <span class="SpellE">preload</span>, así que si
declaramos <span class="SpellE">preload</span>, debes borrar <span class="SpellE">autoplay</span>, también puedes profundizar más en el tema para
que veas todas las combinaciones o permutaciones de valores que puedes usar
para que se muestre el reproductor.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><audio <span class="SpellE">controls</span>="<span class="SpellE">controls</span>" <span class="SpellE">preload</span>=”auto” <span class="SpellE">loop</span>=”<span class="SpellE">loop</span>”></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><<span class="SpellE">source</span>
</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">src</span>="https://docs.google.com/uc?id=0B7WlerwTSO2-VGpuc1ZzWmkxenM"
</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">type</span>="audio/<span class="SpellE">ogg</span>"></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span></<span class="SpellE">source</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></audio></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Luego, tomando
en cuenta que esto es una característica de HTML5 al igual que el CANVAS,
debes mostrar un mensaje si no se pudo cargar el contenido:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><audio <span class="SpellE">controls</span>="<span class="SpellE">controls</span>" <span class="SpellE">preload</span>=”auto” <span class="SpellE">loop</span>=”<span class="SpellE">loop</span>”></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><<span class="SpellE">source</span>
</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">src</span>="https://docs.google.com/uc?id=0B7WlerwTSO2-VGpuc1ZzWmkxenM"
</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 5;"> </span><span class="SpellE">type</span>="audio/<span class="SpellE">ogg</span>"></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span></<span class="SpellE">source</span>></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";">Este navegador no es compatible con HTML5.</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></audio></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Se recomienda
poner dos archivos, uno mp3 y otro <span class="SpellE">ogg</span>, porque
algunos navegadores reproducen uno, y otros otro. Si se introducen dos
fuentes, nunca se reproducirán las dos, solo una de ellas. Es como un <span class="SpellE">if-else</span>:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span class="SpellE"><span style="font-family: "Courier New";">If</span></span><span style="font-family: "Courier New";"> <span class="SpellE">soportaFormato</span>(MP3): </span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";">reproducir</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span class="SpellE"><span style="font-family: "Courier New";">Else</span></span><span style="font-family: "Courier New";"> <span class="SpellE">if</span> <span class="SpellE">soportaFormato</span>(OGG):
</span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";">reproducir</span></div>
<div class="MsoNoSpacing" style="margin-left: 35.4pt;">
<span class="SpellE"><span style="font-family: "Courier New";">Else</span></span><span style="font-family: "Courier New";">: </span></div>
<div class="MsoNoSpacing" style="margin-left: 70.8pt;">
<span style="font-family: "Courier New";">Este navegador no es compatible con HTML5</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Funciona de
esta manera a mi parecer.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 4: <span class="SpellE">Datalist</span></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">El <span class="SpellE">datalist</span> es un control que permite introducir datos de
forma especificada, el código es el siguiente:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="445" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image013.png" width="888" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Aún está
perfeccionándose este controlador, para adaptarlo a los formularios comunes.
Ya puedes comenzar a probarlo para ver que tal funciona.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 5: Figure</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Si has hecho
proyectos de investigación en la universidad, o documentos que deben tener
determinado formato, verás que las imágenes normalmente tienen que llevar una
descripción abajo. De hecho, no solo las imágenes, sino también las tablas y
los gráficos distintos como diagramas y todo lo demás.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">En HTML5 se
puede utilizar Figure para dar esta formalidad a las páginas web, ya que
últimamente la web se usa para todo, incluso para publicar documentos de
divulgación científica.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Figure se puede
usar de la siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><figure></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">img</span>
src="http://t3.gstatic.com/images?q=tbn:ANd9GcQxc6LtcO7eWOpodOhk6kJwx6jFqKoa6P0eNHYL2IcrL-hV4UYj"/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><<span class="SpellE">figcaption</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span>Figura 1.0: Cubo <span class="SpellE">Rubik</span></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span></<span class="SpellE">figcaption</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><figure></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><p>Desarrollo de
Habilidades para resolver problemas</p></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="443" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image014.png" width="884" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<a href="http://www.blogger.com/blogger.g?blogID=2965431919898311135&pli=1" name="p6"><span style="font-family: "Courier New";">Parte 6: Mark</span></a></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Mark sirve para
resaltar texto agregando colores de fondo. Se utiliza de la siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><figure></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">img</span>
src="http://t3.gstatic.com/images?q=tbn:ANd9GcQxc6LtcO7eWOpodOhk6kJwx6jFqKoa6P0eNHYL2IcrL-hV4UYj"/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><<span class="SpellE">figcaption</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span>Figura 1.0: Cubo <span class="SpellE">Rubik</span></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span></<span class="SpellE">figcaption</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><figure></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><p>Desarrollo de <<span class="SpellE">mark</span>>Habilidades</<span class="SpellE">mark</span>>
para resolver <<span class="SpellE">mark</span> <span class="SpellE">style</span>="<span class="SpellE">background-color:red</span>;">problemas</<span class="SpellE">mark</span>></p></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Si se utiliza
la etiqueta MARK por sí sola, coloca el color de fondo amarillo por defecto.
Si se quiere otro color, el <span class="SpellE">mark</span> admite estilos de
CSS, así que al cambiar el atributo <span class="SpellE">background</span>-color,
el color del efecto <span class="SpellE">mark</span> cambiará a rojo.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="441" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image015.png" width="884" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 7: Meter</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Meter sirve
para mostrar estadísticas a los usuarios de manera fácil, con una barra
bastante personalizable y funcional. La idea final es un controlador similar
al que usa <span class="SpellE">Youtube</span>:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="164" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image016.png" width="661" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Es una barra
donde se muestre un color cuando el valor sea muy bajo, otro cuando sea
óptimo, y otro cuando sea muy alto.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Se crea de la
siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><p>¿Cuales son tu opción
favorita?</p></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>Opción 1</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><meter <span class="SpellE">value</span>=50
min=0 <span class="SpellE">max</span>=100></meter><<span class="SpellE">br</span> /></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>Opción 2 </span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><meter <span class="SpellE">value</span>=70
min=0 <span class="SpellE">max</span>=100></meter><<span class="SpellE">br</span> /></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>Opción 3 </span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><meter <span class="SpellE">value</span>=20
min=0 <span class="SpellE">max</span>=100></meter></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">br</span>
/></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="440" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image017.png" width="885" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">MIN es el valor
mínimo, MAX el máximo, y el valor deseado es VALUE. También se puede
establecer cuál rango se considera alto o bajo, usando HIGH para alto y LOW
para bajo:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><p>¿Cuales son tu opción
favorita?</p></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>Opción 1</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><meter <span class="SpellE">value</span>=50
min=0 <span class="SpellE">max</span>=100 <span class="SpellE">high</span>=80 <span class="SpellE">low</span>=30></meter><<span class="SpellE">br</span>
/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>Opción 2 </span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><meter <span class="SpellE">value</span>=70
min=0 <span class="SpellE">max</span>=100 <span class="SpellE">high</span>=80 <span class="SpellE">low</span>=30></meter><<span class="SpellE">br</span>
/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>Opción 3 </span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><meter <span class="SpellE">value</span>=20
min=0 <span class="SpellE">max</span>=100 <span class="SpellE">high</span>=80 <span class="SpellE">low</span>=30></meter></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">br</span>
/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Y esto se
mostraría a través de los colores:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="440" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image018.png" width="882" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">También se
puede especificar un valor óptimo intermedio con OPTIMUM</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><p>¿Cuales son tu opción
favorita?</p></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>Opción 1</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><meter <span class="SpellE">value</span>=50
min=0 <span class="SpellE">max</span>=100 <span class="SpellE">high</span>=80 <span class="SpellE">low</span>=30 <span class="SpellE">optimum</span>=60></meter><<span class="SpellE">br</span> /></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>Opción 2 </span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><meter <span class="SpellE">value</span>=70
min=0 <span class="SpellE">max</span>=100 <span class="SpellE">high</span>=80 <span class="SpellE">low</span>=30 <span class="SpellE">optimum</span>=60></meter><<span class="SpellE">br</span> /></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span>Opción 3 </span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><meter <span class="SpellE">value</span>=20
min=0 <span class="SpellE">max</span>=100 <span class="SpellE">high</span>=80 <span class="SpellE">low</span>=30 <span class="SpellE">optimum</span>=60></meter></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">br</span>
/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Es una opción
que ahorra mucho trabajo de desarrollo pues antes del HTML5 no estaba
disponible este controlador de forma nativa.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 8: Output</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">El output sirve
para jugar con valores introducidos a través de un input, realizando
operaciones aritméticas. Funciona de la siguiente forma:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Creamos un
formulario</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">form</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></<span class="SpellE">form</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Creamos dos
input:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">form</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><input/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><input/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></<span class="SpellE">form</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Y creamos un
output:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">form</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><input/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><input/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><output/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></<span class="SpellE">form</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";">Ahora, la idea es que haya un número en cada input, y la suma
de ambos números en cada input se muestre en el output:</span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<br /></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">form</span>></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><input
<span class="SpellE">type</span>="<span class="SpellE">number</span>" <span class="SpellE">name</span>="a"/></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><input
<span class="SpellE">type</span>="<span class="SpellE">number</span>" <span class="SpellE">name</span>="b"/></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><output
<span class="SpellE">type</span>="<span class="SpellE">number</span>" <span class="SpellE">name</span>="resultado" <span class="SpellE">for</span>="a
b"/></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></<span class="SpellE">form</span>></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing" style="text-align: justify;">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Y lo que falta
es agregarle un evento <span class="SpellE">Javascript</span> al <span class="SpellE">form</span>, <span class="SpellE">onInput</span>:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">form</span>
<span class="SpellE">oninput</span>="<span class="SpellE">resultado.value</span>
= <span class="SpellE">parseInt</span>(<span class="SpellE">a.value</span>) + <span class="SpellE">parseInt</span>(<span class="SpellE">b.value</span>)"></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><input <span class="SpellE">type</span>="<span class="SpellE">number</span>" <span class="SpellE">name</span>="a"/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span>+</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><input <span class="SpellE">type</span>="<span class="SpellE">number</span>" <span class="SpellE">name</span>="b"/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><span style="mso-tab-count: 2;"> </span><output
<span class="SpellE">type</span>="<span class="SpellE">number</span>" <span class="SpellE">name</span>="resultado" <span class="SpellE">for</span>="a
b"/></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></<span class="SpellE">form</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">La siguiente
captura es de Google <span class="SpellE">Chrome</span> porque Firefox no
muestra bien los controladores input de tipo <span class="SpellE">number</span>:</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="258" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image019.png" width="887" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Al dar <span class="SpellE">click</span> en los botones de arriba y abajo cambian los
números y al mismo tiempo se produce el resultado.</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 9: <span class="SpellE">ProgressBar</span></span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">La barra de
progreso muestra el progreso de uno o varios procesos.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="mso-fareast-language: ES-CR; mso-no-proof: yes;"><img border="0" height="438" src="https://googledrive.com/host/0B7WlerwTSO2-OEVUMHJST19HYkk/Tutorial%20HTML5%20geovannyMendezMarin_archivos/image020.png" width="883" /></span><span style="font-family: "Courier New";"></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">progress</span>
<span class="SpellE">value</span>=10 <span class="SpellE">max</span>=100></<span class="SpellE">progress</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Combinado con <span class="SpellE">Javascript</span> permite mostrar dicho progreso en tiempo real.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">Como todas las
anteriores etiquetas de HTML5, si quieres puedes escribir un mensaje entre <span class="SpellE">tags</span>, que se mostrará si el controlador no es soportado.</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<span style="font-family: "Courier New";">Parte 10: Video</span></div>
<div align="center" class="MsoNoSpacing" style="text-align: center;">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">El video es lo
mismo que la inserción de audio, pero con algunas opciones adicionales. El <span class="SpellE">autoplay</span>, <span class="SpellE">preload</span> y <span class="SpellE">loop</span> funcionan igual así que puede revisar la parte de
audio para que repase cómo funcionan. Por lo demás, se proporciona un enlace
mp4 o un <span class="SpellE">ogg</span> (los <span class="SpellE">ogg</span>
pueden ser audio o video así que hay que especificar):</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span><!DOCTYPE <span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><<span class="SpellE">title</span>>Aprendiendo
HTML5</<span class="SpellE">title</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></head></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span><<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span><video <span class="SpellE">width</span>=320
<span class="SpellE">height</span>=240 <span class="SpellE">controls</span>="<span class="SpellE">controls</span>" poster=”http://enlaceImagen.extension”></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 4;"> </span><<span class="SpellE">source</span>
<span class="SpellE">src</span>="http://enlaceVideo.mp4" <span class="SpellE">type</span>="video/mp4" /></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";"><<span class="SpellE">source</span> <span class="SpellE">src</span>="http://enlaceVideo.ogg"
<span class="SpellE">type</span>="video/<span class="SpellE">ogg</span>"
/></span></div>
<div class="MsoNoSpacing" style="margin-left: 141.6pt;">
<span style="font-family: "Courier New";">Este navegador no es compatible con HTML5</span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 3;"> </span></video></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 2;"> </span></<span class="SpellE">body</span>></span></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";"><span style="mso-tab-count: 1;"> </span></<span class="SpellE">html</span>></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="font-family: "Courier New";">El atributo
poster sirve para mostrar una imagen antes de que se reproduzca el video.</span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
Anonymoushttp://www.blogger.com/profile/14594151912661164519noreply@blogger.com0