Team:Toronto/Test
From 2011.igem.org
(Difference between revisions)
Adam Ahmed (Talk | contribs) |
Adam Ahmed (Talk | contribs) m |
||
(2 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | < | + | <html> |
+ | <head> | ||
+ | <script type="text/javascript"> | ||
+ | // This JavaScript block will execute first | ||
+ | </script> | ||
+ | </head> | ||
+ | <body> | ||
+ | <script type="text/javascript"> | ||
+ | document.body.style.backgroundColor = 'green'; | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | // This block will execute second | ||
+ | </script> | ||
+ | |||
+ | <h1>TEST 1 2 3</h1> | ||
+ | |||
+ | <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