Skip to content

Instantly share code, notes, and snippets.

@alexmcpherson
Last active August 29, 2015 13:56
Show Gist options
  • Save alexmcpherson/9194544 to your computer and use it in GitHub Desktop.
Save alexmcpherson/9194544 to your computer and use it in GitHub Desktop.
Essential HTML tags
<!DOCTYPE html> <!-- What 'schema' to use for the 'XML'. This means HTML5 -->
<html>
<head>
<title>My Page</title><!-- Shows in the browser, important for SEO (apparently :-) -->
</head>
<body>
<div>I'm a div, basically a box. I'm super useful.</div>
<p>
This is a paragraph, good for long strings of text.
You can nest <em>other</em> tags inside most HTML tags.
</p>
<h4>Shopping List:</h4>
<ul>
<li>Apples</li>
<li>Cheese</li>
<li>Bread</li>
</ul>
<div id="footer">
<a href="http://www.google.com">Google.com</a>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment