This PDF gives a fantastic overview. Also, Plain Simple SEO is a great, great primer on SEO. And another from LiveEdit.
In an effort to rank your site as high as possible, the following activities should happen:
<title>Page Title</title><meta name="description" content="SEO Quick Hits"> <meta name="Keywords" content="My keywords, go here, and more">
<img alt="Image description" src="..."> <a href="thisIsAGood/page.html" title="My Company - Home page">Home</a><link rel="canonical" href="http://www.yourDomain.com/targetPage.html">Performance Improvements
Inspiration from this blog: http://www.lunametrics.com/blog/2013/04/08/fifteen-minute-seo-health-check/
This came from HTML5 Boilerplate.
# ----------------------------------------------------------------------
# Suppress or force the "www." at the beginning of URLs
# ----------------------------------------------------------------------
# The same content should never be available under two different URLs - especially not with and
# without "www." at the beginning, since this can cause SEO problems (duplicate content).
# That's why you should choose one of the alternatives and redirect the other one.
# By default option 1 (no "www.") is activated. Remember: Shorter URLs are sexier.
# no-www.org/faq.php?q=class_b
# If you rather want to use option 2, just comment out all option 1 lines
# and uncomment option 2.
# IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME!
# ----------------------------------------------------------------------
# Option 1:
# Rewrite "www.example.com -> example.com"
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
</IfModule>
# ----------------------------------------------------------------------
# Option 2:
# To rewrite "example.com -> www.example.com" uncomment the following lines.
# Be aware that the following rule might not be a good idea if you
# use "real" subdomains for certain parts of your website.
# <IfModule mod_rewrite.c>
# RewriteCond %{HTTPS} !=on
# RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
# RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# </IfModule>