HTML Entity for Uppercase H (H)

What You'll Learn
How to display the uppercase letter H in HTML using entity methods. The letter H is the eighth letter of the Latin alphabet (U+0048) and is part of the Basic Latin block. In most cases you can type it directly; numeric or CSS entities are useful when escaping, generating content via CSS, or ensuring correct encoding.
This character can be displayed using the character itself, a hexadecimal reference, a decimal reference, or a CSS escape in the content property. There is no named HTML entity like &H; for this letter.
⚡ Quick Reference — Uppercase H Entity
U+0048Basic Latin (ASCII)
HHexadecimal reference
HDecimal reference
HType directly (no named entity)
Name Value
──────────── ──────────
Unicode U+0048
Hex code H
HTML code H
Named entity (none — use H directly)
CSS code \48
Meaning Latin capital letter H
Related U+0068 = h (lowercase)
Block Basic Latin (U+0000–U+007F)Complete HTML Example
A simple example showing the uppercase letter H using hexadecimal code, decimal HTML code, the character directly, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\48";
}
</style>
</head>
<body>
<p>Symbol (hex): H</p>
<p>Symbol (decimal): H</p>
<p>Symbol (direct): H</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The uppercase letter H (U+0048) is universally supported in all browsers and platforms as part of Basic Latin:
👀 Live Preview
See the uppercase letter H in common text contexts:
🧠 How It Works
Hexadecimal Code
H uses the Unicode hexadecimal value 48 to display the letter. The x prefix indicates hexadecimal format.
Decimal HTML Code
H uses the decimal Unicode value 72 to display the same character. This is the ASCII/Unicode decimal for H.
Direct Character
Type H directly in HTML. There is no named entity like &H;; the character itself is the standard approach in body text.
CSS Entity
\48 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All methods produce the glyph: H. Unicode U+0048 sits in Basic Latin. The lowercase form is U+0068 (h). In normal text, typing H is preferred.
Use Cases
The uppercase letter H (or its entity forms) is commonly used in:
Standard character in paragraphs, articles, and any Latin-script text. Usually typed directly.
Use in ARIA labels, alt text, placeholders, and attribute values; numeric entities help when escaping is needed.
Reference in font specs, CSS content, or generated text via CSS entities.
Teaching the alphabet, phonics, or character encoding; entity codes clarify the exact character.
When building HTML or strings programmatically, numeric entities ensure correct output.
Part of Basic Latin used across languages; entities can help in legacy encoding contexts.
CSS content or list-style may use the character via entity for styling.
💡 Best Practices
Do
- Type
Hdirectly in body content; use entities only when necessary - Serve pages as UTF-8 so Basic Latin characters render without entities
- Use numeric references (
HorH) when escaping is required - Use
\48in CSScontentwhen generating the letter via pseudo-elements - Remember uppercase H is U+0048 and lowercase h is U+0068 when case matters
Don’t
- Overuse numeric entities for
Hin normal readable text - Expect a named HTML entity like
&H;—none exists for this letter - Put CSS escape
\48in HTML text nodes - Use padded Unicode notation like U+00048—the correct value is
U+0048 - Use
\00048in CSS—the correct escape is\48
Key Takeaways
Type H directly, or use hex/decimal references
H HFor CSS stylesheets, use the escape in the content property
\48Unicode U+0048 — LATIN CAPITAL LETTER H
Eighth letter of the Latin alphabet (Basic Latin block)
Previous: Uppercase G Turned Sanserif (⅁) Next: Uppercase H Caron
❓ Frequently Asked Questions
H directly, or use H (hex), H (decimal), or \48 in CSS content. For most content, typing H is standard; use numeric or CSS entities when escaping or generating via CSS.U+0048 (LATIN CAPITAL LETTER H). Basic Latin block. Hex 48, decimal 72. It is the eighth letter of the Latin alphabet.::before/::after, ensuring encoding in legacy systems, or building strings programmatically. In normal body text, typing H is preferred.H or H) is used in HTML content or attributes. The CSS entity (\48) is used in CSS, e.g. in the content property of pseudo-elements. Both produce H but in different contexts.&H; for the letter H. Use the character H directly, or numeric references H (decimal) or H (hex). Named entities are mainly for characters with special meaning (e.g. <, &).Explore More HTML Entities!
Discover 1500+ HTML character references — letters, symbols, and more.
8 people found this page helpful
