CSS text-emphasis-style Property

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 4 Examples
Typography

What You’ll Learn

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.

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.

📝 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

🎯 Default Value

The default value of the text-emphasis-style property is none, meaning no emphasis marks are applied.

⚡ Quick Reference

QuestionAnswer
Default valuenone
Filled dot markstext-emphasis-style: dot;
Open circle markstext-emphasis-style: circle;
Japanese-style markstext-emphasis-style: sesame;
Custom symboltext-emphasis-style: "*";
InheritedYes

💎 Property Values

The text-emphasis-style property accepts keyword values and custom string symbols.

ValueExampleDescription
nonetext-emphasis-style: none;No emphasis mark is drawn.
accenttext-emphasis-style: accent;Uses the accent mark (emphasis dot appropriate to the language).
dottext-emphasis-style: dot;Uses a small filled dot as the emphasis mark.
circletext-emphasis-style: circle;Uses a small open circle as the emphasis mark.
double-circletext-emphasis-style: double-circle;Uses a small filled circle with an outer open circle.
triangletext-emphasis-style: triangle;Uses a small triangle as the emphasis mark.
sesametext-emphasis-style: sesame;Uses a sesame dot as the emphasis mark.
Custom stringtext-emphasis-style: "*";A custom emphasis mark provided as a string.
dot circle sesame triangle "*"

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.

👀 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.

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>
Try It Yourself

How It Works

The browser draws a small filled dot above or below each character in the paragraph.

Example 2 — Circle emphasis marks

Open circle marks create a lighter visual emphasis than filled dots.

circle-style.css
.vocab {
  text-emphasis-style: circle;
  text-emphasis-color: #2563eb;
}
Try It Yourself

How It Works

Setting style and color separately gives you independent control over shape and appearance.

🌾 Typography & Custom Marks

Use sesame marks for Japanese-style text and custom strings for creative emphasis.

Example 3 — Sesame marks for East Asian text

Sesame marks are commonly used in Japanese educational and editorial typography.

sesame-style.css
.jp-vocab {
  text-emphasis-style: sesame;
  text-emphasis-color: #059669;
}
Try It Yourself

How It Works

Sesame-shaped marks appear on each character, following East Asian typographic conventions.

Example 4 — Custom string emphasis mark

Pass a string value to use your own symbol as the emphasis mark.

custom-style.css
.star-mark {
  text-emphasis-style: "*";
  text-emphasis-color: #ea580c;
}
Try It Yourself

How It Works

The browser repeats the custom symbol above or below each character in the element.

♿ 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.

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.

emphasis-style-set.css
/* Longhand */
.term {
  text-emphasis-style: dot;
  text-emphasis-color: #dc2626;
  text-emphasis-position: over;
}

/* Shorthand equivalent */
.term {
  text-emphasis: dot #dc2626;
}

🧠 How text-emphasis-style Works

1

You choose a mark shape

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.

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 Chrome 99+ · Desktop & Mobile
Full support
Mozilla Firefox 46+ · Desktop & Mobile
Full support
Apple Safari 7+ · macOS & iOS
Full support
Microsoft Edge 99+ · Chromium
Full support
Opera 85+ · Modern versions
Full support

Testing tip

Verify sesame, double-circle, and custom string marks in Safari and Firefox.

text-emphasis-style property 95% supported

Bottom line: text-emphasis-style is safe to use for East Asian typography and decorative emphasis in modern projects.

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.

💡 Best Practices

✅ Do

  • Start with simple shapes like dot or circle
  • Use sesame for Japanese-style educational content
  • Pair with text-emphasis-color for readable marks
  • Use none to remove marks from nested elements
  • Test custom string symbols in target browsers

❌ Don’t

  • Replace semantic emphasis with decorative marks alone
  • Mark entire long paragraphs unless intentional
  • Assume all keyword shapes render identically in every browser
  • Forget to set mark color when contrast matters

Key Takeaways

Knowledge Unlocked

Five things to remember about text-emphasis-style

Use these points when choosing emphasis mark shapes.

5
Core concepts
02

dot

Quick start.

Example
🌾 03

sesame

Japanese style.

Shape
🔁 04

Inherited

Flows to children.

Cascade
05

Custom String

Your own symbol.

Flexible

❓ Frequently Asked Questions

text-emphasis-style sets the shape of emphasis marks drawn on each text character, such as dot, circle, sesame, or a custom symbol.
The default is none, which means no emphasis marks are applied to the text.
dot uses a filled dot mark. accent uses the language-appropriate accent mark, which may vary by typography conventions.
Yes. Pass a string value such as "*" to use your own character as the emphasis mark.
Yes, text-emphasis-style is inherited, so setting it on a parent can affect emphasis marks on child elements.

Practice in the Live Editor

Open the HTML editor and try text-emphasis-style: dot; on a paragraph.

HTML Editor →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

5 people found this page helpful