Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
- <title>JavaScript random number</title>
- </head>
- <body>
- <div>
- <!-- File: listing-7-5.htm -->
- <script type="text/javascript">
- <!--
- document.write("Here is a random number between zero and one: ");
- document.write(Math.random());
- // -->
- </script>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement