HTML Guides for combining character
Learn how to identify and fix common HTML validation errors flagged by the W3C Validator — so your pages are standards-compliant and render correctly across every browser. Also check our Accessibility Guides.
A combining mark, such as an accent, sits at the start of a text run, right after a tag, so it has no base letter in the same run to attach to.
Unicode can write a letter like "é" as one precomposed character (U+00E9) or as a plain "e" followed by a combining acute accent (U+0301). The combining accent only means something next to the letter it modifies. A text run is the text between two tags, and when an element boundary splits the "e" from its accent, the accent opens the next run on its own. The validator flags it whether the mark is typed directly or written as a character reference such as ́.
Browsers may still draw the accent over the previous letter, but the result depends on the font and the styles on each side of the tag. The accent can also land on a dotted circle or show up misplaced. Search, copy and paste, and screen readers see a bare accent and a separate unaccented letter instead of one word.
This usually comes from rich text editors that wrap part of a word in a <span> or <strong> and put the boundary between the letter and its accent, or from text pasted from a source that stores accents in decomposed form. Fix it by keeping the whole character inside one element, written in its precomposed form.
Invalid example
The base letter "e" is inside <strong>, and the combining accent comes after the closing tag:
<p>The <strong>cafe</strong>́ opens at 8.</p>
Valid example
<p>The <strong>café</strong> opens at 8.</p>
Showing a combining mark on its own
When the page needs to show the mark by itself, for example in a list of diacritics, there is no letter for it to combine with:
<p>The acute accent <code>́</code> combines with the letter before it.</p>
Put a dotted circle (U+25CC) before it as the base. This is the usual way to display a combining mark alone:
<p>The acute accent <code>◌́</code> combines with the letter before it.</p>
Validate at scale.
Ship accessible websites, faster.
Automated HTML & accessibility validation for large sites. Check thousands of pages against WCAG guidelines and W3C standards in minutes, not days.
1K Weekly
1,000 monthly checks. Cancel anytime.
Get 1K Weekly →Join teams across 40+ countries