破折号
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://unicodefyi.com/iframe/glossary/dash/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://unicodefyi.com/glossary/dash/
Add a dynamic SVG badge to your README or docs.
[](https://unicodefyi.com/glossary/dash/)
Use the native HTML custom element.
用于分隔句子部分或表示范围的标点,Unicode定义了多种破折号:连字符(‐)、半角破折号(–)、全角破折号(—)、数字破折号(‒)等。
What is a Dash?
In typography, dash refers to a family of horizontal line characters that perform distinct semantic roles. The word "dash" is often used loosely, but each member of the dash family has a specific purpose: the hyphen joins words, the en dash marks ranges, the em dash marks interruptions or parenthetical asides, and the minus sign is a mathematical operator. Confusing them is one of the most common typographic errors in digital publishing.
The Dash Family
| Character | Unicode | Name | Width | Primary Use |
|---|---|---|---|---|
| - | U+002D | Hyphen-minus | Narrow | Keyboard input, compound words, programming |
| ‐ | U+2010 | Hyphen | Same as - | True hyphen for breaking words |
| ‑ | U+2011 | Non-breaking Hyphen | Same | Hyphen that prevents line breaks |
| – | U+2013 | En Dash | 1 en (~½ em) | Ranges, scores, compound proper nouns |
| — | U+2014 | Em Dash | 1 em | Parenthetical aside, interruption |
| ― | U+2015 | Horizontal Bar | ~1 em | Dialogue attribution (in some typographic traditions) |
| − | U+2212 | Minus Sign | Math-width | Mathematical subtraction |
The Hyphen-Minus Problem
The hyphen-minus (U+002D, the - on your keyboard) is a compromise character that computers inherited from typewriter culture. It serves as hyphen, minus sign, and even dash in informal writing — but typographically it should only be used as a hyphen for word breaks or in code/programming contexts.
Smart text editors and word processors auto-convert -- to an en dash and --- to an em dash. HTML entities provide the correct characters:
– <!-- en dash – -->
— <!-- em dash — -->
− <!-- minus sign − -->
En Dash Usage (–)
The en dash (U+2013) is used for: - Ranges: pages 10–25, the 2020–2024 period, Monday–Friday - Scores: the final score was 3–2 - Compound modifiers with proper nouns: the New York–London flight
Keyboard entry:
- macOS: Option + Hyphen
- Windows: Alt + 0150 (numpad)
- HTML: – or –
Em Dash Usage (—)
The em dash (U+2014) is the most versatile dash, used for: - Parenthetical aside: She finally arrived—three hours late—with no explanation. - Interruption: "I can't believe you would—" she stopped herself. - Emphasis: Only one thing mattered now—survival.
Em dashes may appear with or without spaces depending on house style (American style: no spaces; British style: spaced).
Keyboard entry:
- macOS: Shift + Option + Hyphen
- Windows: Alt + 0151 (numpad)
- HTML: — or —
Quick Facts
| Property | Value |
|---|---|
| Keyboard hyphen-minus | U+002D — the - key |
| En dash | U+2013, width of letter "n", for ranges |
| Em dash | U+2014, width of letter "m", for parentheticals |
| Minus sign | U+2212, mathematical subtraction |
| macOS en dash shortcut | Option + - |
| macOS em dash shortcut | Shift + Option + - |
| HTML en dash entity | – |
| HTML em dash entity | — |
相关术语
排版印刷 中的更多内容
CSS @font-face descriptor specifying which Unicode code points a font should cover. …
The mechanism by which a rendering engine substitutes glyphs from a secondary …
Modern font format developed by Microsoft and Adobe supporting up to 65,535 …
字符从右向左流动的文本方向,用于阿拉伯语、希伯来语、塔阿纳等文字,正确显示需要双向算法。
Fonts downloaded by the browser to render text, declared via CSS @font-face. …
U+00A0,防止在该位置换行的空格。HTML中为 ,用于数字与单位之间(100 km)、专有名词(Mr. Smith)和缩写之后。
全角(Em):等于字号的宽度;半角(En):全角的一半,用于定义全角破折号宽度、全角空格、半角空格和CSS单位(1em、0.5em)。
附加在字母上以改变发音或意义的符号,可以是预组合形式(é U+00E9)或组合形式(e + ◌́ U+0065+U+0301),包括重音、变音符、软音符和波浪号等。
特定大小、字重和样式的字型实现,在数字排版中指包含字形定义和度量的字体文件(TTF、OTF、WOFF2)。
字体渲染的字符视觉表现形式。一个字符可有多个字形(连字、上下文形式),一个字形也可表示多个字符。