Team:Toronto/Test
From 2011.igem.org
(Difference between revisions)
Adam Ahmed (Talk | contribs) |
Adam Ahmed (Talk | contribs) m |
||
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <head> | + | <head> |
- | < | + | <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> | ||
- | + | <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