Hyphen vs Non-Breaking Hyphen
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://symbolfyi.com/iframe/entity//" 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://symbolfyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://symbolfyi.com/entity//)
Use the native HTML custom element.
VS
So sánh thuộc tính
| Thuộc tính | ‐ 2010 | ‑ 2011 |
|---|---|---|
| Tên | Hyphen | Non-Breaking Hyphen |
| Danh mục | Dashes & Hyphens | Dashes & Hyphens |
| Khối | General Punctuation | General Punctuation |
| Chữ viết | Zyyy | Zyyy |
| Danh mục chung | Dash Punctuation (Pd) | Dash Punctuation (Pd) |
| Hai chiều | ON | ON |
So sánh mã hóa
| Định dạng | 2010 | 2011 |
|---|---|---|
| Unicode | U+2010 | U+2011 |
| HTML Decimal | ‐ | ‑ |
| HTML Hex | ‐ | ‑ |
| CSS | \2010 | \2011 |
| JavaScript | \u{2010} | \u{2011} |
| Python | \u2010 | \u2011 |
| UTF-8 | e2 80 90 | e2 80 91 |
Cách phân biệt
Hyphen và Non-Breaking Hyphen đều thuộc danh mục Dashes & Hyphens và khối General Punctuation. Hãy so sánh điểm mã và hiển thị trực quan của chúng để phân biệt.
Mẹo: Dán ký tự vào trình chỉnh sửa hex hoặc dùng
charCodeAt()
trong JavaScript để kiểm tra điểm mã thực tế.