Posted by Marty Dickinson on Apr 20, 2009
The EMDASH is one of the most mis-used, neglected, mysterious marks in the written language. Toss the Internet in there requiring HTML to make the emdash and a whole can of worms opens up for the novice coder. Using a CMS or blog software like WordPress can empower even the most tech UNsavvy administrator to create their own words on an html page, but what happens when they want to emphasize something in a sentence?
Instead of using a proper emdash, which looks like — the writer comes up with convenient alternatives like italic text (hard to read), improperly used quote marks (just wrong gramatically), underlining (making people think there is a link to click), over use of bolding (a real turn off), improper use of two hyphens — (my favorite!), or just plain USING CAPITAL LETTERS, which we all know and love :).
So, what do we do about this emdash for the web? It’s simple. The code to use for wherever you want to place emdash html code is — (or — but I usually use the — so I’m assured it will work right in older browser versions too).
Here’s how it works.
1) Open your editor so that you are in HTML view
2) Write your sentence for where you want emdash html code to go
3) Add html code between the two words for where you want your emdash to appear
Here’s a correct example:
[Showing HTML] Then I fell in the water—really cold water!
[Result] Then I fell in the water—really cold water!
[Showing HTML] Then I fell in the water — really cold water!
[Result] Then I fell in the water — really cold water!
See how I have a space on either side of the html code? That’s not right. A proper emdash needs to butt up to each word.
Click a Star to Rate This Post:
Tell Others About This Post:
Email This Post to a Friend