Aside from the stylesheet linking, and other linking scripts– what are some ESSENTIAL things to place in the
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.
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.