diff options
author | Shannen <shannenlaptop@gmail.com> | 2011-12-20 08:57:45 +0400 |
---|---|---|
committer | koichik <koichik@improvement.jp> | 2011-12-22 12:30:41 +0400 |
commit | ef659192a14fcd521801d33374b4feaf5dfaf105 (patch) | |
tree | b3bbbfb4f04dc6e49f92d1bc1f0c206fc5e9d99a /doc | |
parent | 6029127ceae33dec541ef0457e650adb33d2763c (diff) |
docs: use "Level 1" HTML5 features
Since we're using an HTML doctype we might as well use "Level 1" HTML5 features.
See more: http://mathiasbynens.be/notes/html5-levels#level-1
Fixes #2386.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/about/index.html | 18 | ||||
-rw-r--r-- | doc/community/index.html | 17 | ||||
-rw-r--r-- | doc/index.html | 20 | ||||
-rw-r--r-- | doc/template.html | 12 |
4 files changed, 33 insertions, 34 deletions
diff --git a/doc/about/index.html b/doc/about/index.html index 4e67c9e3364..f3a33554f48 100644 --- a/doc/about/index.html +++ b/doc/about/index.html @@ -1,7 +1,8 @@ <!doctype html> <html> <head> - <style type="text/css"> + <meta charset="utf-8"> + <style> ul { padding: 0; margin: 0; @@ -9,13 +10,12 @@ </style> <link type="image/x-icon" rel="icon" href="../favicon.ico"> <link type="image/x-icon" rel="shortcut icon" href="../favicon.ico"> - <link type="text/css" rel="stylesheet" href="../pipe.css"> - <link type="text/css" rel="stylesheet" href="../sh_vim-dark.css"> + <link rel="stylesheet" href="../pipe.css"> + <link rel="stylesheet" href="../sh_vim-dark.css"> <link rel="alternate" type="application/rss+xml" title="node blog" href="http://feeds.feedburner.com/nodejs/123123123"> - <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>node.js</title> </head> <body> @@ -109,16 +109,16 @@ console.log('Server running at http://127.0.0.1:1337/');</pre> is a <a href="trademark-policy.pdf">trademark of Joyent, Inc</a>. </div> - <script type="text/javascript" src="../sh_main.js"></script> - <script type="text/javascript" src="../sh_javascript.min.js"></script> - <script type="text/javascript">highlight(undefined, undefined, 'pre');</script> + <script src="../sh_main.js"></script> + <script src="../sh_javascript.min.js"></script> + <script>highlight(undefined, undefined, 'pre');</script> - <script type="text/javascript"> + <script> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> - <script type="text/javascript"> + <script> try { var pageTracker = _gat._getTracker("UA-10874194-2"); pageTracker._trackPageview(); diff --git a/doc/community/index.html b/doc/community/index.html index 3dd7cd7e3e7..9c427624b59 100644 --- a/doc/community/index.html +++ b/doc/community/index.html @@ -1,15 +1,15 @@ <!doctype html> <html> <head> - <style type="text/css"> + <meta charset="utf-8"> + <style> ul { padding: 0; margin: 0; } </style> - <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js?ver=3.1.3'></script> - <script type="text/javascript" src="../sh_main.js"></script> - <script type="text/javascript" src="../sh_javascript.min.js"></script> + <script src="../sh_main.js"></script> + <script src="../sh_javascript.min.js"></script> <link type="image/x-icon" rel="icon" href="../favicon.ico"> <link type="image/x-icon" rel="shortcut icon" href="../favicon.ico"> <link type="text/css" rel="stylesheet" href="../pipe.css"> @@ -18,7 +18,6 @@ type="application/rss+xml" title="node blog" href="http://feeds.feedburner.com/nodejs/123123123"> - <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>node.js</title> </head> <body> @@ -148,16 +147,16 @@ is a <a href="trademark-policy.pdf">trademark of Joyent, Inc</a>. </div> - <script type="text/javascript"> + <script> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> - <script type="text/javascript"> + <script> try { var pageTracker = _gat._getTracker("UA-10874194-2"); pageTracker._trackPageview(); } catch(err) {} </script> - -</body></html> +</body> +</html>
\ No newline at end of file diff --git a/doc/index.html b/doc/index.html index f687c1495c3..fab47811bbd 100644 --- a/doc/index.html +++ b/doc/index.html @@ -1,7 +1,8 @@ <!doctype html> -<html> +<html lang="en"> <head> - <style type="text/css"> + <meta charset="utf-8"> + <style> ul { padding: 0; margin: 0; @@ -9,13 +10,12 @@ </style> <link type="image/x-icon" rel="icon" href="favicon.ico"> <link type="image/x-icon" rel="shortcut icon" href="favicon.ico"> - <link type="text/css" rel="stylesheet" href="pipe.css"> - <link type="text/css" rel="stylesheet" href="sh_vim-dark.css"> + <link rel="stylesheet" href="pipe.css"> + <link rel="stylesheet" href="sh_vim-dark.css"> <link rel="alternate" type="application/rss+xml" title="node blog" href="http://feeds.feedburner.com/nodejs/123123123"> - <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>node.js</title> </head> <body> @@ -200,16 +200,16 @@ server.listen(1337, "127.0.0.1");</pre> is a <a href="trademark-policy.pdf">trademark of Joyent, Inc</a>. </div> - <script type="text/javascript" src="sh_main.js"></script> - <script type="text/javascript" src="sh_javascript.min.js"></script> - <script type="text/javascript">highlight(undefined, undefined, 'pre');</script> + <script src="sh_main.js"></script> + <script src="sh_javascript.min.js"></script> + <script>highlight(undefined, undefined, 'pre');</script> - <script type="text/javascript"> + <script> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> - <script type="text/javascript"> + <script> try { var pageTracker = _gat._getTracker("UA-10874194-2"); pageTracker._trackPageview(); diff --git a/doc/template.html b/doc/template.html index 60826dcab21..cb3c99c4fba 100644 --- a/doc/template.html +++ b/doc/template.html @@ -1,7 +1,7 @@ -<!DOCTYPE html> -<html> +<!doctype html> +<html lang="en"> <head> - <meta charset="UTF-8"> + <meta charset="utf-8"> <title>{{section}}Node.js v0.6.6 Manual & Documentation</title> <link rel="stylesheet" href="assets/style.css"> <link rel="stylesheet" href="assets/sh.css"> @@ -21,16 +21,16 @@ <script src="assets/sh_main.js"></script> <script src="assets/sh_javascript.min.js"></script> <script>highlight(undefined, undefined, 'pre');</script> - <script type="text/javascript"> + <script> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> - <script type="text/javascript"> + <script> try { var pageTracker = _gat._getTracker("UA-10874194-2"); pageTracker._trackPageview(); } catch(err) {}</script> - <script type="text/javascript">highlight(undefined, undefined, 'pre');</script> + <script>highlight(undefined, undefined, 'pre');</script> </body> </html> |