Aside from the stylesheet linking, and other linking scripts– what are some ESSENTIAL things to place in the
This reply has been reported for inappropriate content.
Meta keywords, meta description, title & character encoding
Disregard the keyword metatag completely. It doesn’t have any effect on search ranking.
I include the doctype in the head section so the browsers know what version of HTML I’ll be using. Hope that helps.
HTML5 Shiv/Shim within a conditional comment.
You could also, as a suggestion, view the source of any site (including this one: view-source:http://css-tricks.com/) to get an idea of what to include in the head section.
it’s not essential per se, but i almost always include modernizr. http://modernizr.com/
it includes both an HTML Shiv (which allows old browsers to recognize html5 tags), and also enables device/browser feature detection by writing conditional css and js. which really helps with progressive enhancement.
<meta charset="utf-8"><br />
<meta name="description" content=""><br />
<meta name="viewport" content="width=device-width, initial-scale=1"><br />
<link rel="stylesheet" href="css/main.css"><br />
<link rel="author" href="humans.txt"><br />
<!–[if lt IE 9]><br />
<script src="js/html5shiv.js"></script><br />
Language attribute on your “html” tag. Discovery “link” to your rss feed (if you have one). meta “viewport.” Unique meta description for every page. rel canonical tag.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed