Generic HTML5 Template

HTML5 LogoHTML5 is coming. I know you think you can hold off, but the reality is that it will be here before you know it. Here is the basic generic syntax for an HTML5 page.


<!doctype html>
<html>
<head>
<title>Example document</title>
</head>
<body>
<p>Example paragraph</p>
</body>
</html>


Notice that the doctype is much simpler than it used to be (who really remembered the whole line and who just copied and pasted anyway?)

AVSHost – Android and Web Development