Basic template
So you want to create your first HTML 5 valid website, as we are getting many requests as to how to achieve this below is the correct format for creating a HTML5 template / HTML5 page:
<!DOCTYPE html>
<html>
<head>
<title>New HTML5 page</title>
</head>
<body>
<!-- Add your content here-->
</body>
</html>
As you can see there is not much to this, this is however a very basic page layout, if you wish to get more creative with this then please refer to our HTML 5 reference page for further information or download our free HTML5 valid template. We are currently working on more tutorials which should be ready in the coming weeks, keep an eye on our site or subscribe to our Rss feeds to keep up to date.
This should keep you busy for now, yes the above is very simple, but it is also a great starting point to learn from.
3 Responses
4.11.2010
Please, format your code so that < does not show up as <
Copy-Paste is great, but if you copy badly formatted code, you get badly formatted code.
4.11.2010
Let me follow up and say that the comments module I just used, formats HTML code correctly, so your ‘snippet’ should. So that second < was actually < , just like your snippet above.
5.22.2010
Hi Patrick, sorry about the badly formatted code, I switched the template I was using for the site, fixed now..