Skip to content

Instantly share code, notes, and snippets.

@anncode1
Created October 12, 2015 17:28
Show Gist options
  • Save anncode1/835ba4be08f9405f11eb to your computer and use it in GitHub Desktop.
Save anncode1/835ba4be08f9405f11eb to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Ejemplo de código JavaScript en el propio documento</title>
<script type="text/javascript"> alert("Un mensaje de prueba");
</script>
</head>
<body>
<p>Un párrafo de texto.</p> </body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment