Last active
August 29, 2015 13:56
-
-
Save alexmcpherson/9194544 to your computer and use it in GitHub Desktop.
Essential HTML tags
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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