Web type em dashes and curly apostrophes on a website

ejgers's picture

Can you have em dashes and curly apostrophes on a website in an HTML font?


Paper. Printing. Design. Knowledge.

radhruin's picture

You can. There are HTML entities that will provide you with these characters. Em dash, for example, is "& mdash ;" without the spaces. For a good list of entities, see here.

ralf h.'s picture

If your website is unicode encoded you can use any character you wish.

Grot Esqué's picture

Depending on the font of course. The web safe fonts usually lack en space, for example.

Grot Esqué's picture

Um, I meant en dash…

jt_the_ninja's picture

Same story. Check the links above. I usually just enter them with alt codes (Google search if you're unfamiliar with the term). The alt code for an en–dash is ALT+0150 on Windows keyboards (in America).

Doesn't matter how you enter it, really. So long as your website is, as was pointed out, encoded in Unicode, and the font used has the right glyph, it'll show up okay.


Syndicate content Syndicate content