XHTML5 boilerplate | XHTML5 or HTML5 in XML serialization mode


Source code

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

<head>

<meta charset="utf-8" />

<meta name="author" content="Joost van Meeteren" />
<meta name="robots" content="index,follow" />

<meta name="description" content="..." />
<meta name="keywords" content="..." />

<meta name="viewport" content="width=device-width, initial-scale=1" />

<link href="../images/html5_icon.png" rel="icon" type="image/png" />

<title>XHTML5 boilerplate</title>

<!-- Copyright (c) 2002-2016 by Joost van Meeteren - All rights reserved. -->

<!-- Visit http://joostvanmeeteren.info/html_boilerplates/xhtml5_boilerplate/ for this page. -->

<link href="css3/xhtml5.css" rel="stylesheet" type="text/css" />

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

</head>

<body>

<h1>XHTML5 boilerplate</h1>

<p>...</p>

</body>

</html>


Validation: XHTML XHTML5