Basically, for pages that may not have a description or tags set, is it better to have
<meta name="description" content="" /> <meta name="keywords" content="" />
or just skip the tags altogether for those pages that don't have the information set?
Webmasters Stack Exchange is a question and answer site for webmasters. It only takes a minute to sign up.Sign up to join this community
FYI, meta tags have no effects on rankings so no meta tags is the same as empty meta tags is the same as full meta tags.
Having said that, empty meta tags are the same as no meta tags. Either way you are not providing search engines or any other crawler any information normally provided in those tags. If I had to choose one or the other I would simply omit them as it means a (slightly) smaller file size and less parsing for crawlers.
There is no benefit to having an empty meta description or meta keywords. They take up a few bytes in the page source. You might as well leave them out.
On the flip side, it shouldn't really hurt when those fields are empty compared to not having them. If your CMS requires that they are there and you don't want to write content for them, it would be OK to leave them empty. Especially the meta keywords, they are not used at all by Google anymore. Writing a good meta description is generally a good idea because it often gets shown as the snippet in the search results. Writing a good meta description can help pull in users that see your listing.
I completely ignore the keywords meta-tag since most search engines ignore it. There are some exceptions such as Yandex. It is fairly safe for the major SEs to ignore this tag. However, it costs you nothing to have one if it is convenient.
As for the description meta-tag, both answers from John and Stephen are both correct. However, there are a few facts I would like to add.
What people forget is that search engines are actually to be taken in two parts. This is extremely important to know. One is the index with the fetch queue and any algorithms and metrices related to weighting the site and pages and has nothing to do with the query engine. The query engine is the other half that has algorithms and metrices of it's own. The difference is that the index stores metrics and the query engine does not (effectively) except for the query itself so that it can be studied. Each has it's purpose. For example, when a page is fetched and indexed, various algorithms are applied and metrics stored. Granted. The difference is that this is done in a relative vacuum with no ability to compare the page or site to others. This is what the query engine does. It takes the query, applies algorithms against to the query, creates a series of queries, and then applies algorithms to the result sets to create a single cohesive result. Why this is important to know is that ranking and metrics are applied in two parts and that each set has a specific purpose that do not over-lap.
The description meta-tag, if managed properly will be shown as the SERP snippet. We all know this. What is often forgotten is that the description meta-tag has enjoyed certain privileges in Google along with the title tag from the very beginning and for a good reason. The Google query engine actually makes several queries and blends the query results into a single weighted result set to pass to the filters. Of these queries, there is at least a query against the title tag, the description meta-tag, the h1 tag, and the content itself. Add to it, queries for different analysis scenarios found in the search query itself and potentially others.
The fact is that the description meta-tag is indexed just like the title tag, however, it does not provide weight to the page content itself within the index. This differs in some respect to the title tag in that semantic topical scores and other semantic analysis of the title tag will in some form or another be applied to the content through martices or metrics of metrics. This allows weighting of the title tag, the content, and the two combined. This is not the case for the description meta-tag.
Where the description meta-tag shines is if terms used in the search query are found in the description meta-tag. When this happens, additional scoring may be applied in the search query filters. Not much, however, the description meta-tag can boost placement in the SERPs over other similar ranking pages that do not have the search terms in the description meta-tag. It is a boost, but can only boost one or two positions within a reasonably narrow window of conditions where it is relevant. Still, it is important.
For that reason, I always suggest over time that the site owner track the terms actually used to find the page or similar pages on their site. Then the description meta-tag should be adjusted to use the primary search terms in as natural and conversational a way possible. You will know you are having success if the majority of the search queries for a given page will highlight search terms within the SERP snippet. This is the last step in the SERP filters and used only in rendering the page. Any thought that direct search terms matches against the description meta-tag would be almost completely wrong.
Consider also that for description meta-tags that are not managed well, Google will use search matches within content for the SERP snippet.
As for whether a description meta-tag should be used or not, it depends. Sometimes yes. Sometimes no. It may not always be practical to edit a description meta-tag to be truly effective. For static pages such as articles, it is very possible and likely to generate a highly effective description meta-tag, however, for dynamically driven pages, it may not be. Because in some cases the search engine will chose a compelling content snippet based upon the search query, some site owners choose to not use a description meta-tag to force the search engine to use a content snippet. And why not? Search engines are fairly good at it! It is in this respect that not having a description meta-tag becomes an effective tool.
I came across this and it's years later. Just had to clarify, because John Conde's answer to your question couldn't be more wrong. I've been working in SEO and digital marketing for almost 10 years.... and John says:
FYI, meta tags have no effects on rankings so no meta tags is the same as empty meta tags is the same as full meta tags. Having said that, empty meta tags are the same as no meta tags. Either way you are not providing search engines or any other crawler any information normally provided in those tags. If I had to choose one or the other I would simply omit them as it means a (slightly) smaller file size and less parsing for crawlers.
2, As for omitting them because it's a slightly smaller file size and less parsing for crawlers? What??? The difference in size is negligible to say the least. It's like pores on your face. If you removed 10 pores, could anyone tell there was a difference? I know my analogy is ridiculous. But the statements made by John Conde are beyond ridiculous. I don't know where it's coming from.