Team:Toronto/Test

From 2011.igem.org

(Difference between revisions)
m
 
(3 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<head>
+
        <head>
-
<title>Test</title>
+
        <script type="text/javascript">
-
</head>
+
            // This JavaScript block will execute first
-
<body>
+
        </script>
 +
        </head>
 +
    <body>
 +
<script type="text/javascript">
 +
        document.body.style.backgroundColor = 'green';
 +
      </script>
-
Testing 1 2 3
+
        <script type="text/javascript">
 +
            // This block will execute second
 +
        </script>
-
</body>
+
        <h1>TEST 1 2 3</h1>
-
</html>
+
 
 +
        <script type="text/javascript">
 +
            // This block will execute last
 +
        </script>
 +
    </body>
 +
    </html>
 +
<TUTORIAL TAKEN FROM "JAVASCRIPT PROGRAMMER'S REFERENCE">

Latest revision as of 16:13, 5 August 2011

TEST 1 2 3

<TUTORIAL TAKEN FROM "JAVASCRIPT PROGRAMMER'S REFERENCE">