67

Here are some tips for tagging questions. These guidelines will help you more accurately tag your questions, which in turn will help them get more attention and lead to better answers faster.

For more information, see "What are tags, and how should I use them?" in the Help Center.

Return to FAQ index

0

2 Answers 2

71

Effective Tags - Bring more attention to your question

  • Each tag should stand on its own: if a tag only makes sense when used in a group with other tags, it's wrong. For example, tagging a question as [visual] [studio] (two tags) is wrong.
  • Pick tags that show higher counts in the look-ahead prompts, as they are more likely to make your question appear highlighted for a user on the main page or show up in someone's feed of watched tags.
  • At a minimum, try to include at least one very broad tag (e.g., java or c#) and one other tag to narrow the topic down within that broader category (e.g., strings or garbage-collection).
  • You are limited to five tags, and you are generally better off trying to use as many of them as you can, provided they follow the guidelines here.
  • Try to use broad tags. For example, you usually want to include both a general tag (windows) and a specific version tag (windows-10) rather than just the specific tag. While tagging a question windows-11-v23h2 on Super User might convey exactly the information you intend (it implies Windows, Windows 11, and Windows 11 version 23H2 all in one tag), tagging it windows windows-11 windows-11-v23h2 will bring your question lots more attention, since more people will watch the generic windows and windows-11 tags. There is of course a trade-off: you used three tags to convey the same information you could have done with one. However, it's hard to overstate how many more views the generic tags will bring to your question.

Tagging Don'ts

  • Try not to create new tags. If you create a new tag, that tag is guaranteed not to help your question show up on any subscribed RSS feeds or watched tag lists. Again, the look-ahead prompt can help with this. Odds are it also means you're missing an existing tag for that topic that would more accurately categorize your question. See When should I create a new tag? How do I request a new tag if I don't have enough rep?
  • Don't try to summarize your question using the tags. The point of tags on Stack Exchange is to help other interested users find your question by sorting it into clear, specific categories. This is not the same as indexing or summarizing the question. The differences are subtle, but important. Unlike many other formats like video, search engines can find your question using the text, so a summary is not needed.
  • Don't use tags that are not about your question. Again, the point of tags here is to help sort your question into clear, specific categories. Don't just slap a tag on your question just because it happens to mention a certain topic; only use tags that are actually about your question's topic. Tags that the question is not about don't belong.
  • Don't use your username for a tag.
  • Don't use meta tags. Even if it already exists. A meta tag is any tag that doesn't categorize the content of the question, but simply indicates the nature of the question. Examples include homework or hard-question.
  • Don't violate any site-specific policies regarding tag usage. For example, some tags may be slated for manual community removal from all questions per procedures defined by the site community, and Super User prohibits tags that are simply the name of a company and not a specific product.

On a related note, don't use tags in your question title.

Formatting

  • Use all lower-case
  • Use American English spellings (this is an exception to the normal policy that language in posts shouldn't be edited)
  • Replace spaces with dashes (-) to combine multiple words into a single word (i.e, Tag "Unit Testing" as "unit-testing").
  • Avoid punctuation. This can make it difficult to use the tag in a URL
  • A number of tags predate the guidelines and are therefore formatted differently. However, that doesn't mean you shouldn't follow these rules when creating tags. If you find one of these, you should file a on the per-site meta requesting that the tag be renamed to meet the guidelines.
  • When naming a tag, think about how someone would search for that subject. In most cases, this means typing out the full name, but you may also want to use the abbreviation in some cases. For example, "css" is probably more appropriate than "cascading-style-sheets".

Retagging

Retagging a question is making any edit to a question that changes the tags.

  • Do not retag a question if you are not going to add value to the question information by doing so.
  • Do retag questions to use well-known and popular tags that are appropriate for the question.
39
  • "If you create a new tag, you are guaranteed to not show up ..." ... if that is the only tag you use. Can we include some guidelines here about format of tags? For example, "sqlserver" or "sql-server"?
    – Bobby Jack
    Commented Oct 23, 2008 at 14:09
  • Fixed the wording there a little, Bobby Jack. Is there a strong enough concensus yet on what the format should look like? Commented Oct 23, 2008 at 14:12
  • Formatting of new tags, right? For example, sqlserver has over 1100 questions, probably too many to re-tag them as sql-server if that were desired.
    – Dave DuPlantis
    Commented Oct 23, 2008 at 14:16
  • Well, the guidelines say "Combine multiple words into single-words". I understand that it makes sense to ignore this for certain names (e.g. "mysql" is correct, not "my-sql"!) but "SQL Server"'s name clearly includes a space.
    – Bobby Jack
    Commented Oct 23, 2008 at 14:22
  • 1
    @Dave: I don't think we should let a tag be if it's 'wrong', however much it's in use. If it's too big a manual job, it would be a less-than-a-minute job for one of the site owners.
    – Bobby Jack
    Commented Oct 23, 2008 at 14:23
  • You could argue that the presence of the Taxonomist badge encourages people to create new tags: stackoverflow.com/badges/11/taxonomist
    – insin
    Commented Oct 23, 2008 at 14:26
  • Sort of. It encourages you to create new good tags. Personally, I think it should be a gold badge, but disqualify all the tags created during the private beta period. Commented Oct 23, 2008 at 14:31
  • @Bobby, good point - so maybe it should say (if you must create a new tag) "Combine multiple words into a single word, replacing spaces with dashes, such as sql-server for SQL Server."
    – Dave DuPlantis
    Commented Oct 23, 2008 at 14:34
  • Let's find a different example (one that doesn't point to a real tag that was done incorrectly). Commented Oct 23, 2008 at 14:36
  • How 'bout web-development or best-practices, as they're currently the first two dashed tags listed. I was hoping for something shorter and more technical, though. Commented Oct 23, 2008 at 14:38
  • unit-testing? Other than that and file-io, everything else looks long.
    – Dave DuPlantis
    Commented Oct 23, 2008 at 14:41
  • I guess one of the reasons I raised the issue was that /something/ needs to be done to resolve the issue of hundreds of tags for "foo-bar" and 1 or 2 tags for "foobar". I've found this happening many times, and clean them up from time to time, but that's not too scalable. I'd like to see a ...
    – Bobby Jack
    Commented Oct 23, 2008 at 14:58
  • ... 'synonymous' relationship between relevant tags and/or corrections for badly formatted tags.
    – Bobby Jack
    Commented Oct 23, 2008 at 14:59
  • At some point too, we're going to have to tackle the tricky issue of what to do with, for example, a question specific to php 5.2.5 which will then need to be tagged with "php", "php-5", "php-5.2", and "php-5.2.5" - great, 1 free tag! Unless more implicit info. is stored somewhere, this will be a ..
    – Bobby Jack
    Commented Oct 23, 2008 at 15:02
  • ... problem (I've already seen similar examples; take a look at the number of posts with "sql", "server", "sqlserver", "sqlserver2008", ... etc.)
    – Bobby Jack
    Commented Oct 23, 2008 at 15:03
8

Is There a Standard for Tag Names?

  • Please do not re-tag a question if you are not going to add valuable information by doing it.

  • Please do not use tags as an attention-getting-device if you don't have sufficient privileges in the system (i.e., adding [belongs-on-serverfault]).

  • Please do not use the "duplicate" tag or any other tag that does not contribute to categorizing the question, including [not-programming-related]. These kinds of tags are known as meta-tags; more information about them can be found here.

  • Multi-word tags should have the words separated by a dash, unless it is a proper name that does not have a space between the words. (I.e., [sql-server] and [mysql] are correct)

  • Avoid creating new tags, if at all possible. Double-check your spelling if necessary. Some tags could have local variations (i.e., color or colour), some are predominantly singular or predominantly plural (i.e., color or colors), and some may have synonyms with completely different spellings (i.e., newbie or beginner). If a similar concept tag is already available, please do not create a new tag: use the existing tag instead. The goal is to categorize your question.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .