Skip to content

Instantly share code, notes, and snippets.

@Darksoulsong
Last active June 20, 2018 09:05
Show Gist options
  • Save Darksoulsong/3659206 to your computer and use it in GitHub Desktop.
Save Darksoulsong/3659206 to your computer and use it in GitHub Desktop.
Html5 Code snippet with microdata included
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Html 5 Template with Microdata included</title>
<link rel="icon" type="image/png" href="http://example.com/myicon.png">
<link rel="stylesheet" type="text/css" media="all" href="css/style.css" />
<!--link rel="stylesheet/less" type="text/css" href="public/css/home.less">
<script src="public/js/less-1.3.0.min.js" type="text/javascript"></script-->
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
<body>
<!-- begin: page -->
<div id="page">
<!-- begin: page header -->
<header id="page-header">
<div>
<hgroup id="branding" itemscope itemtype="http://schema.org/Organization">
<h1 itemprop="name">My Company Beautiful Name</h1>
</hgroup>
<nav id="main-navigation">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Another Link</a></li>
</ul>
</nav>
</div>
</header>
<!-- end: page header -->
<!-- begin: page content -->
<div id="page-content" itemscope itemtype="http://schema.org/WebPageElement" itemprop="mainContentOfPage">
<section></section>
</div>
<!-- end: page content -->
<!-- begin: page footer -->
<footer id="page-footer">
<div></div>
</footer>
<!-- end: page footer -->
</div>
<!-- end: page -->
</body>
<!-- end: page -->
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment