1st post here. Odd seeing that i own quite a few SP books. Either way, looking fwd to joining the community. Here’s a quick statement/q?
Is there a thorough post somewhere that will give me a run down of <meta> tag best practices?? After looking at some headers recently that had some pretty detailed meta tagging, I feel like i’ve been totally neglecting that end of it - or were they going overboard?? I didn’t bookmark the page sadly. Anyone have such a resource? I was looking @ a few Google Dev pages and they had nothing too extensive.
A lot of meta usage is overboard if you ask me. Sometimes meta elements are used for Facebook purposes. Other times it is used so the author can stick information in the document. The important uses of meta are to indicate a character set and provide a description for the document.
The charset declaration should be made right at the top of the document after the opening head element. Browsers will use whatever is sent in the HTML header as the character set, ignoring the meta, but this provides information for anyone looking at the HTML.
Another important use of meta is to specify a description for the page which is generally used by search engines in results pages.
<meta name="description" content="This is where you put the description of the page you want to use." >
Also for providing keywords which may people no longer use as search engines ignore them for ranking purposes.
Another annoying use for meta is to instruct the browser to refresh (or redirect) the page after a period of time, which browsers can be configured to ignore.
And a whole lot more. The geo.position one looks interesting. It does not look like the meta extensions are used much by search engines, if at all. If not, I can’t see much point in using them now.
Got it. Thanks for this. Looks like I’ll be fine keeping it pretty simple then. Seems like the description attribute might be my best bet to focus on - according to Google as well. This is good practice though. Want to nail my header / meta game down pat.
All the http-equiv meta tags are (as the name implies ) HTML equivalents to HTTP commands that are better handled as HTTP headers rather than embedded in the HTML. You should only use them when you don’t have access to set them on the server.
She left SP but not the forums. She’s still keeping a eagle/hawk eye on us
@cheesedude; I don’t see how the meta position can be of any use. I know that we all want to geo-target our users… but I can’t think why a page needs to have a location.
The idea behind it might be that the content of the page is related to a certain location. Like the site of a shop. So if you search for a hairdresser on your mobile, the search engine might rank the page of that hairdresser’s site higher because he’s located near you. Or something like that