How to Type ē (E with macron) on HTML
Typing ē (e with macron) on HTML takes a few seconds once you know the trick. The short answer is ē. Read on for step-by-step instructions, the uppercase Ē and what to do when a method does not work.
ē on HTML: ē
Ē on HTML: Ē
Or copy it:
Method 1: Codes for web pages
| Format | Code for ē |
|---|---|
| Decimal entity | ē |
| Hex entity | ē |
| CSS content | content: "\0113"; |
| JavaScript | "\u0113" |
| URL encoded | %C4%93 |
| UTF-8 bytes | C4 93 |
Method 2: Type it directly with UTF-8
If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste ē straight into the HTML. Entities are only needed when your editor or database cannot store the character.
Method 3: Watch for normalization
ē can also be written as e plus a combining mark. Both look the same but compare as different strings. In JavaScript, call str.normalize("NFC") before comparing or searching.
How to type the capital Ē
The uppercase form works the same way with Shift added where a letter is typed.
Codes for web pages
| Format | Code for Ē |
|---|---|
| Decimal entity | Ē |
| Hex entity | Ē |
| CSS content | content: "\0112"; |
| JavaScript | "\u0112" |
| URL encoded | %C4%92 |
| UTF-8 bytes | C4 92 |
Type it directly with UTF-8
If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste Ē straight into the HTML. Entities are only needed when your editor or database cannot store the character.
About the letter ē
ē is Unicode U+0113, named LATIN SMALL LETTER E WITH MACRON. It is used in Latvian, Mandarin Pinyin, Māori and Hawaiian. A flat bar above a vowel, used for long vowels in Latvian, Lithuanian, Māori, Hawaiian and Latin textbooks, and for the first tone in Pinyin. See the ē character page for every code and shortcut.
Troubleshooting
- If you see à and other symbols, the file is UTF-8 but the browser reads it as Windows-1252. Add the meta charset tag.
- Named entities are case sensitive: É and é are different letters.
- In XML and XHTML only five named entities exist, so use numeric codes there.
Frequently asked questions
What is the shortcut for ē on HTML?
ē.
Can I just copy and paste ē?
Yes. Click the copy button above, then paste with Ctrl+V on Windows and Chromebook, Cmd+V on a Mac, or touch and hold and choose Paste on a phone.
What is the Unicode code for ē?
U+0113. In HTML it is ē.
Related guides
- How to Type ē (E with macron) on Windows
- How to Type ē (E with macron) on Mac
- How to Type ē (E with macron) on iPhone
- How to Type ē (E with macron) on Android
- How to Type ē (E with macron) on Microsoft Word
- How to Type ē (E with macron) on Google Docs
- How to Type ū (U with macron) on HTML
- How to Type ā (A with macron) on HTML
- How to Type ī (I with macron) on HTML
- How to Type ō (O with macron) on HTML