Punctuation Details

August 11, 2004

True Quotes

There are simple details in typography that can make your design look professional. Yes, professional, that descriptive word you hear from clients. These details take a little more effort to produce with HTML and we often forget them when moving from a print medium to online. Punctuation is a simple and quick detail that can make your design stand out from the rest. It is generally practiced in the print world of design, but we have been a little lackadaisical with our punctuation with HTML copy. Coding your punctuation in HTML takes just a little more work than if you we working with an image in Photoshop, but it certainly makes your work ‘professional’ looking. I am just as guilty when it comes to punctuation, but there are a few simple things I have learned that will make your design look beautifully supafly. These are just a few quick details that every designer should not forget when working with type and copy both online and print. This is nothing new and many of us may practice this already, but sometimes we need a reminder.

Quotes Marks, Prime Marks, Ditto Marks

Always use true quote marks (“”, ‘’) and true apostrophes and not ditto marks(",') with all of your copy. For numbers, minutes, feet, and inches you should use prime marks (′, ″).

Name Character Code
Left Single Quotes ‘ or ‘
Right Single Quotes ’ or ’
Left Double Quotes “ or “
Right Double Quotes ” or ”
Single Prime Mark ′ or ′
Double Prime Mark ″ or ″

If you use Movable type, John Gruber has a great tool that will convert all of those ditto marks for you to the true quote marks.

Hang your Quote Marks

When you use a pull quotes, quotations, or headlines you should always hang your quotes. This can easliy be done with the text-indent CSS property set to a negative value on an element. In photoshop there is an option in the paragraph pallette to set type with ‘Roman Hanging Punctuation’.

“Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce consequat tellus nec nibh. Phasellus mollis. Duis nec est. Phasellus sit amet eros. Fusce nec felis sed pede egestas aliquam.”

.hang {text-indent: -0.4em;
font-size: .7em;
padding: 10px; }
Em Dash, En Dash, Hyphen

Em dashes(—) are usually used to mark a change in thought or sentance structure. Em dashes are set with no space before or after the dash.

En dashes(–) are commonly used to indicate a duration.

Hyphens(-) should only be used when you break a word at the end of a line or compound adjetives, like three-legged.

Ellipsis is a special character and not just three periods.

Name Character Code
Em Dash — or —
En Dash – or –
Ellipsis …

These are all small details and only take seconds to change, but really make the difference when you use them. If you are like me and you like typography details like this, Robin Williams has a great book about type called The Non-Designer’s Type Book.

Comments

Ruben said:

Wouldn't that have to be:

text-indent: -.4em;

I agree with you that coding punctuation like this looks more professional over-all. But some of these I wouldn't use myself because I simply don't like the look of them. The em-dash is far too dominant for instance.

Posted on Aug. 11, 2004 06:07 #

Andrew Dunning said:

Whether you like the look of them or not, it's proper English grammar. Use them or die a very slow death. ;-)

You can also just use UTF-8 to type these in normally, but only if you're not concerned about users of Netscape 4 &c.

Finally, check Typography Matters at A List Apart.

Posted on Aug. 11, 2004 07:04 #

Sage Olson said:

I've read that you can use an en dash with single spaces around it as a replacement for the em dash… Technically, you're supposed to use hairline spaces (or whatever they're called), but so few fonts support that.

Also, it doesn't seem right to me to suggest that you're supposed to use a single right quotation mark as an apostrophe. In fact, I believe there is an official apostrophe character, but badly supported by browsers.

Posted on Aug. 11, 2004 13:23 #

Matt said:

In PHP my Texturize engine handles a lot of this automatically, though it does get it wrong on some edge cases. It's free for use and available under the GPL in the WordPress source.

Posted on Aug. 11, 2004 14:45 #

Isaac said:

When entering copy in ourselves it's nice to use correct punctuation.

Problems arise when the content is entered through a CMS though.

Posted on Aug. 11, 2004 23:48 #

paul haine said:

There's an old article at A List Apart on this subject that makes for good reading:

http://www.alistapart.com/articles/emen/

Posted on Aug. 15, 2004 06:52 #

Noah Bradley said:

Textile (seems) to be rather effective at translating text, as well as other tags.

Posted on Aug. 15, 2004 13:32 #

Blake Scarbrough said:

Thanks Ruben, it should say -0.4em. It did in the style sheet.
These details can only enhance the look of the copy on site. It is all about design and readability in the end.

Posted on Aug. 16, 2004 08:57 #