Wednesday, April 30, 2008

What does mdash mean?


mdash is a printing/typesetting term, and it refers to a dash the width of the capital letter "M". The shorter dash is similarly referred to as an ndash. There is also the hyphen, which is usually smaller than the ndash . With some modern day fonts, there wouldn't be much difference.

mdash can be represented numerically using &# 150; in HTML, or '\u2014' in Java.
ndash can be represented numerically using &# 150; in HTML, or '\u2013' in Java.

No comments: