Skip to content

Instantly share code, notes, and snippets.

@Hogent
Created December 4, 2012 09:27
Show Gist options
  • Save Hogent/4202157 to your computer and use it in GitHub Desktop.
Save Hogent/4202157 to your computer and use it in GitHub Desktop.
Gist for article on HTML5 semantics.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head >
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Page Title | Site Name</title>
<meta name="description" content="page description">
<link rel="stylesheet" href="style.css" type="text/css" media="all">
</head>
<body>
<div id="header">
<h1 class="title">Page Title</h1>
<h2 class="subtitle">Page Subtitle</h2>
<ul class="menu">
<li><a href="#">Home</a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</ul>
</div>
<div id="content">
<h2>Article Title</h2>
<p>Paragraph, etc...</p>
<h2>Article Title</h2>
<p>Paragraph, etc...</p>
</div>
<div id="sidebar">
<h4>Widget title</h4>
<ul>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</ul>
</div>
<div id="footer">
<p>copyright message</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment