Resources for WEB150
HTML Site Template
You can download a zip file containing the index.html template + all the folders and base files here:
HTML Site Template
HTML5 Template
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>JavaScript HTML5 Template</title> <link rel="stylesheet" href="css/main.css" type="text/css" /> <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" media="all" href="css/ie6.css"/> <![endif]--> <!--[if lt IE 9]> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> <![endif]--> </head> <body id="index"> <script type="text/javascript"> <!-- // safely embed non-html code // now we are in the JavaScript interpreter --> </script> <noscript> <!-- content for non-js supporting browsers goes here --> </noscript> </body> </html> |
Other Notes
No Script
The noscript element specifies a section of HTML code, which can contain CSS (style tags and links) and will only be rendered/loaded in the case that a user does not have JavaScript enabled (or for browsers that do not support JavaScript).
<noscript> You must have a JavaScript enabled browser to use this site. </noscript> |