Showing posts with label Yahoo. Show all posts
Showing posts with label Yahoo. Show all posts

Wednesday, 11 August 2010

My HTML5 Template

Here is my HTML5 template. It also contains a few things I like to put in my pages.

See demo.

<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="">
<link rel="stylesheet" href="stylesheets/html5reset.css" />
<link rel="stylesheet" href="stylesheets/pageStyle.css" />
<link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="stylesheets/smalldevice.css" />
<link rel="stylesheet" href="stylesheets/printstyle.css" media="print" />
<link rel="shortcut icon" href="images/favicon.ico" />
<!--[if lt IE 9]>
<script src=""></script>
<script type="text/javascript" src=""></script>
<script src=""></script>
google.load("jquery", "1");
google.load("jqueryui", "1");
families: [ 'Tangerine', 'Cantarell', 'Yanone Kaffeesatz' ]
<script src="scripts/jQueryFunctions.js"></script>
<script src="scripts/html5functions.js"></script>
<div id="page">
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
</script><script src=""></script>
<h1>Page Header</h1>
<h2>Page Sub Heading</h2>
<li><a href="#">Home</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Contact</a></li>
<article>First article on left.
<canvas id="myDrawing" width="200" height="200">
<p>Your browser doesn't support canvas.</p>
The stuff aside
<article class="yellowbox">
This is the text in the box.
footer represents a footer for a section and can contain information about the author, copyright information, et cetera.