Web type em dashes and curly apostrophes on a website

Primary tabs

7 posts / 0 new
Last post
ejgers's picture
Offline
Joined: 19 Aug 2008 - 10:03am
Web type em dashes and curly apostrophes on a website
0

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

Thanks,
Lizy

Paper. Printing. Design. Knowledge.
http://edliveshere.com/

radhruin's picture
Offline
Joined: 19 Aug 2008 - 10:28am
0

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 [[http://htmlhelp.com/reference/html40/entities/|here]].

TG's picture
TG
Offline
Joined: 8 May 2003 - 2:39pm
0

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

Lari Elovainio's picture
Offline
Joined: 10 Nov 2005 - 12:05pm
0

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

Ricardo Cordoba's picture
Offline
Joined: 6 Jun 2005 - 6:57pm
0
Lari Elovainio's picture
Offline
Joined: 10 Nov 2005 - 12:05pm
0

Um, I meant en dash…

JT the Ninja's picture
Offline
Joined: 2 Jul 2008 - 3:40pm
0

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.

Peace,
JT