A tag is a word or phrase that describes the topic of the question. Tags are a means of connecting experts with questions they will be able to answer, by sorting questions into specific, well-defined categories.
Tags can also be used to help you identify questions that are interesting or relevant to you.
Clicking on a tag below a question brings you to a page that shows all questions within that tag. You also see a description of what the tag is and how it should be applied (Sometimes the tag name is a common word that has a broad meaning in the real world but a very particular, narrow meaning on your Team.) These descriptions comprise the tag wiki, which is editable, like any other post.
Each question may only contain 5 tags at a maximum, so choose the ones that best describe your question. Spaces are not allowed in tags – create compound tags using hyphens rather than spaces (like
[visual-studio]) rather than multiple tags separated by spaces (
How to format tags
- Use all lower case
- Replace spaces with hyphens (-) to combine multiple words into a single word (e.g., tag "unit testing" as
- Avoid punctuation (which can make it difficult to use the tag in a URL)
- 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. For example,
[css]is probably more appropriate than
As part of the editing process, users may suggest edits or directly edit the tags of a question if they feel a certain tag was used inappropriately or that the question is missing a tag.
You should re-tag questions when:
- You are adding valuable information to the question by doing so
- You are replacing obscure or difficult to understand tags with well-known and popular tags that are appropriate for the question.
Should I use tags in titles?
You should not *force* a tag into your title. Because the tags appear below the question and tags are indexed by search engines along with the content of your question, you can trust that other people will be able to find your question based on tags they follow or search for. Additionally, tags appear on the question page, so other people will take them into account when answering your question.
Avoid inserting tags into titles in any of the following formats:
- [tag]: [question title]
- [question title] -- [tag] [tag] [tag]
- [question title] in [tag]
- [tag] [tag] [question title] [tag] [tag] [tag]
- [tag] [tag] [tag] [tag] [tag] [tag] [tag] [tag]
The only time you should use tags in your title is when they are organic to the conversational tone of the title.