The text-emphasis-style property sets the shape of emphasis marks on text characters — from built-in dots and circles to custom symbols.
01
Mark Shapes
Dot, circle, sesame.
02
Longhand
Style only.
03
none
Remove marks.
04
Custom String
Your own symbol.
05
East Asian Text
CJK typography.
06
Pair Color
Add mark color.
Fundamentals
Introduction
The text-emphasis-style property in CSS is used to apply emphasis marks to text, which can help to highlight or stress certain parts of the content.
This property is commonly used in East Asian typography, but it can be applied to any text to add stylistic emphasis.
Definition and Usage
Use text-emphasis-style to choose the mark shape drawn on each character. Pair it with text-emphasis-color for color control, text-emphasis-position for placement, or use the text-emphasis shorthand when you want style and color together.
💡
Beginner Tip
Start with text-emphasis-style: dot; to see small filled dots appear on every character in the element.
Foundation
📝 Syntax
The syntax for the text-emphasis-style property is straightforward. You can specify the emphasis mark using predefined keywords or a string:
syntax.css
element{text-emphasis-style:style;}
Here, style can be one of the predefined keywords or a string representing the custom emphasis mark.
Basic Example
text-emphasis-style.css
p{text-emphasis-style:dot;}
Syntax Rules
Use keyword values like dot, circle, or sesame for built-in shapes.
Use none to remove emphasis marks.
Pass a quoted string for a custom symbol, such as "*".
The property is inherited, so one rule can style many child elements.
Related Properties
text-emphasis — shorthand for style and color
text-emphasis-color — sets the mark color
text-emphasis-position — sets mark placement over or under text
Defaults
🎯 Default Value
The default value of the text-emphasis-style property is none, meaning no emphasis marks are applied.
Cheat Sheet
⚡ Quick Reference
Question
Answer
Default value
none
Filled dot marks
text-emphasis-style: dot;
Open circle marks
text-emphasis-style: circle;
Japanese-style marks
text-emphasis-style: sesame;
Custom symbol
text-emphasis-style: "*";
Inherited
Yes
Reference
💎 Property Values
The text-emphasis-style property accepts keyword values and custom string symbols.
Value
Example
Description
none
text-emphasis-style: none;
No emphasis mark is drawn.
accent
text-emphasis-style: accent;
Uses the accent mark (emphasis dot appropriate to the language).
dot
text-emphasis-style: dot;
Uses a small filled dot as the emphasis mark.
circle
text-emphasis-style: circle;
Uses a small open circle as the emphasis mark.
double-circle
text-emphasis-style: double-circle;
Uses a small filled circle with an outer open circle.
triangle
text-emphasis-style: triangle;
Uses a small triangle as the emphasis mark.
sesame
text-emphasis-style: sesame;
Uses a sesame dot as the emphasis mark.
Custom string
text-emphasis-style: "*";
A custom emphasis mark provided as a string.
dotcirclesesametriangle"*"
Context
When to Use text-emphasis-style
text-emphasis-style is the right choice when you need to pick the mark shape without changing color or position:
East Asian content — Use sesame or dot for traditional emphasis conventions.
Study materials — Mark vocabulary with circle or dot shapes.
Creative layouts — Use a custom string symbol for decorative emphasis.
Reusable themes — Set the style once and change color separately with longhands.
Preview
👀 Live Preview
Compare different text-emphasis-style keyword values:
Dot emphasis marks on each character.
Circle emphasis marks on each character.
Double-circle emphasis marks.
Triangle emphasis marks.
Sesame emphasis marks.
Custom asterisk emphasis marks.
Hands-On
Examples Gallery
In this example, we’ll apply a dot emphasis mark to some text, then explore more emphasis shapes.
📜 Built-in Mark Shapes
Apply predefined emphasis shapes to highlight important text.
Example 1 — Dot emphasis marks
In this example, we’ll apply a dot emphasis mark to some text.
index.html
<style>p{text-emphasis-style:dot;}</style><h1>Text with Emphasis Style</h1><p>This text has an emphasis mark applied to it.</p>
The browser repeats the custom symbol above or below each character in the element.
A11y
♿ Accessibility
Marks are decorative — Use semantic HTML such as <em> or <strong> for meaningful emphasis.
Avoid overuse — Too many marked characters can reduce readability.
Screen readers — Emphasis mark shapes are not typically announced.
Keep contrast clear — Pair styles with readable mark colors via text-emphasis-color.
Companion
text-emphasis-style in the family
text-emphasis-style controls mark shape only. Combine it with text-emphasis-color and text-emphasis-position, or use the text-emphasis shorthand for style and color in one declaration.
Set a keyword like dot or a custom string like "*".
Style
2
The browser draws marks per character
Each glyph in the element gets the chosen emphasis mark shape.
Rendering
3
Color and position refine the result
Add text-emphasis-color and text-emphasis-position for full control.
Longhands
=
✎
Character-level emphasis
Text stands out with culturally appropriate or decorative mark shapes.
Compatibility
Browser Compatibility
The text-emphasis-style property is supported in modern browsers, including the latest versions of Chrome, Firefox, Safari, and Edge. However, as with any CSS property, it is advisable to test your website across different browsers to ensure consistent behavior.
✓ Modern browsers · Wide support
Emphasis shapes in today’s browsers
Chrome, Firefox, Safari, Edge, and Opera all support text-emphasis-style in current versions.
95%Modern browser support
Google Chrome99+ · Desktop & Mobile
Full support
Mozilla Firefox46+ · Desktop & Mobile
Full support
Apple Safari7+ · macOS & iOS
Full support
Microsoft Edge99+ · Chromium
Full support
Opera85+ · Modern versions
Full support
Testing tip
Verify sesame, double-circle, and custom string marks in Safari and Firefox.
text-emphasis-style property95% supported
Bottom line:text-emphasis-style is safe to use for East Asian typography and decorative emphasis in modern projects.
Wrap Up
Conclusion
The text-emphasis-style property is a useful tool for adding typographic emphasis to your text content.
Whether you are designing for East Asian languages or simply want to add some stylistic touches to your text, this property offers a range of predefined options and the flexibility to create custom emphasis marks. Experiment with different styles and see how they can enhance the readability and visual appeal of your web projects.