Diferencia entre revisiones de «Usuario:Juanda/javascript/Introducción»
De WikiEducator
Línea 154: | Línea 154: | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
Línea 154: | Línea 154: | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
document.write("<h1>" + name + "</h1>")
<html> <body> <script type="text/javascript"> <!-- document.write("¡Hola Mundo!"); //--> </script> </body> </html>
<script type="text/javascript"> </script>
<!-- -->
// Comentario en JavaScript
document.write
<html> <head> <script type="text/javascript"> .... </script> </head> ... </html>
<html> <head> </head> <body> <script type="text/javascript"> .... </script> </body> </html>
<html> <head> <script type="text/javascript" src="xxx.js"></script> </head> <body> </body> </html>
<html> <head> </head> <body> <p onclick=”funcion();"> Ejemplo de Javascript </p> </body> </html>
div class="slide">
<head> …. </head> <body> <noscript> <p>Bienvenido a Mi Sitio</p> <p> Esta página requiere para su funcionamiento el uso de JavaScript. Si lo has deshabilitado intencionadamente, por favor vuelve a activarlo. </p> </noscript> </body>