HTML and CSS Reference
In-Depth Information
<body>
<header>
<h1>Document sample</h1>
</header>
<section>
</section>
<footer>
Copyright © 2015 John Smith. All rights reserved.
</footer>
</body>
</html>
7.
Provide content.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns=" http://www.w3.org/1999/xhtml ">
<head>
<title>Sample XHTML5 document</title>
<meta charset="UTF-8" />
</head>
<body>
<header>
<h1>Document sample</h1>
</header>
<section>
<article>
<h2>Article1</h2>
The first article of the document.
</article>
<article>
<h2>Article2</h2>
The second article of the document.
</article>
</section>
<footer>
Copyright © 2015 John Smith. All rights reserved.
</footer>
</body>
</html>
which can be written in HTML5 as follows:
<!DOCTYPE html>
<html>
<head>
<title>Sample HTML5 document</title>
<meta charset="UTF-8">
</head>
Search WWH ::




Custom Search