Dashes  |  Google developer documentation style guide  |  Google for Developers (2024)

Stay organized with collections Save and categorize content based on your preferences.

This page explains when to use em dashes. For information about hyphens, see the following:

Em dashes

To indicate a break in the flow of a sentence—or an interruption—use an emdash, also known as a long dash. Don't put a space before or after it.

You can type the em dash character in various ways:

HTML
—
macOS
Press Option+Shift+hyphen.
Linux desktop environment
Enable the Compose key (instructions for doing that vary depending onyour flavor of Linux—for examples, see Linux Keyboard Shortcuts ForText Symbols). After the Compose key is enabled, you can create an em dashby typing the Compose key followed by three hyphens.
Alternatively, press Control+Shift+U. Let go of those keys, and then type 2014. Then press Return.
Windows
Turn num lock on, and then hold down the left Alt key and type 0151 on the numeric keypad.

Don't use an en dash (the shorter dash) or a hyphen in place of an em dash.The use of an en dash with spaces around it in place ofan em dash is gradually becoming more common, but it's still not very widespreadin the US in professional publishing; so far (as of early 2016), it's mostlyused in Canada and a few other places. For now, only use the em dash.

En dashes

Don't use. Instead, use a hyphen or the word to. For more information, see the following:

Colons instead of dashes in description lists

Another common but nonstandard construction is to use an em dash, an en dash, or a hyphen surrounded by spaces to separate an item and its description. Instead, use a colon or a period. For a series of items, use an HTML description list (<dl>).

Recommended: Example: This is an example.

Not recommended: Example - This is an example.

Recommended: Appendix A: My first appendix

Not recommended: Appendix A—My first appendix

Recommended:

 <dl> <dt>Example</dt> <dd>This is an example.</dd> <dt>Another example</dt> <dd>This is another example.</dd> </dl> 

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-05-09 UTC.

Dashes  |  Google developer documentation style guide  |  Google for Developers (2024)
Top Articles
Long-Run Event Study | EST
Buyer Beware
AMC Theatre - Rent A Private Theatre (Up to 20 Guests) From $99+ (Select Theaters)
Stadium Seats Near Me
Booknet.com Contract Marriage 2
Jennette Mccurdy And Joe Tmz Photos
Craigslist Kennewick Pasco Richland
Lycoming County Docket Sheets
Bustle Daily Horoscope
Space Engineers Projector Orientation
Es.cvs.com/Otchs/Devoted
Tokioof
Things To Do In Atlanta Tomorrow Night
Craigslist Pikeville Tn
Nitti Sanitation Holiday Schedule
Wizard Build Season 28
Apus.edu Login
Ivegore Machete Mutolation
Doublelist Paducah Ky
2487872771
Pawn Shop Moline Il
Cal State Fullerton Titan Online
Is Poke Healthy? Benefits, Risks, and Tips
Jazz Total Detox Reviews 2022
Duke University Transcript Request
Best Restaurants Ventnor
Duke Energy Anderson Operations Center
Ucm Black Board
Bratislava | Location, Map, History, Culture, & Facts
Ark Unlock All Skins Command
October 31St Weather
Raising Canes Franchise Cost
Kelly Ripa Necklace 2022
About :: Town Of Saugerties
Ise-Vm-K9 Eol
Fototour verlassener Fliegerhorst Schönwald [Lost Place Brandenburg]
Encompass.myisolved
Wayne State Academica Login
The Conners Season 5 Wiki
Below Five Store Near Me
ACTUALIZACIÓN #8.1.0 DE BATTLEFIELD 2042
412Doctors
Child care centers take steps to avoid COVID-19 shutdowns; some require masks for kids
Victoria Vesce Playboy
25 Hotels TRULY CLOSEST to Woollett Aquatics Center, Irvine, CA
Kenwood M-918DAB-H Heim-Audio-Mikrosystem DAB, DAB+, FM 10 W Bluetooth von expert Technomarkt
Sleep Outfitters Springhurst
99 Fishing Guide
Festival Gas Rewards Log In
Jovan Pulitzer Telegram
Latest Posts
Article information

Author: Msgr. Benton Quitzon

Last Updated:

Views: 5403

Rating: 4.2 / 5 (63 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Msgr. Benton Quitzon

Birthday: 2001-08-13

Address: 96487 Kris Cliff, Teresiafurt, WI 95201

Phone: +9418513585781

Job: Senior Designer

Hobby: Calligraphy, Rowing, Vacation, Geocaching, Web surfing, Electronics, Electronics

Introduction: My name is Msgr. Benton Quitzon, I am a comfortable, charming, thankful, happy, adventurous, handsome, precious person who loves writing and wants to share my knowledge and understanding with you.