Musings and Scribbles on Software Development
It is common that developers use some separator on the title tag to separate the actual page title from the site name, normally using a pipe or mid-dot or even a dash/hyphen, thus rendering a title like:
About - StackOverflow.
Recently, as I was reading some HTML code, I noticed that the developer choose to use as separator the HTML entity:
<title>page title – sitename</title>. Which was curious to me… I mean, why not just use
I ended up googling about it and found an article which aptly explains that there’s actually 3 kinds of dashes, each meant for a specific purpose and with a different graphic representation. The article is just a bit lengthy, so for short bellow are the differences and suggested usage of each of the dashes.
This is one of those small things in language that is commonly missed but is good know.