Compare the document title (typically shown on the tab for browser with tabs) for these questions:

The first two have a title that starts with one of the tags the question has (respectively "programming - ", and "equation solving - "). The last question is tagged too, but no tags appear in the title. Does anyone know why?

I like removing those starting tags from titles with a userscript and noticed this because my script failed by using the naive assumption that the tag is always present. What are the rules for how these titles are formed?


I have noticed this too but I have never explored it. I think that the page title tag is added unless it or one of its synonyms already appears (as a separate word) in the title text. I shall look for couter-examples to this hypothesis, as well as possible confirmation on the main https://meta.stackexchange.com/ site.

Here is apparent confirmation of my hypothesis:

Should we stop adding the most popular tag to the HTML title on every SE site?

If you work the tag into the title "organically", it won't get prefixed. So, "How do I do X in Python?" won't have "Python - " prepended to it. So if you're just looking to put something more important near the start of the title, use this method to enforce it. – Shog9

  • Thanks, that's almost surely the reason. I'll accept your answer even if you don't sound absolutely certain of it. Mar 2 '15 at 22:56

You must log in to answer this question.

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