HTML Entity for Uppercase K (K)

What You'll Learn
How to display the uppercase letter K in HTML using entity methods. The letter K is the eleventh letter of the Latin alphabet (U+004B) 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 &K; for this letter.
⚡ Quick Reference — Uppercase K Entity
U+004BBasic Latin (ASCII)
KHexadecimal reference
KDecimal reference
KType directly (no named entity)
Name Value
──────────── ──────────
Unicode U+004B
Hex code K
HTML code K
Named entity (none — use K directly)
CSS code \4B
Meaning Latin capital letter K
Related U+006B = k (lowercase)
Block Basic Latin (U+0000–U+007F)Complete HTML Example
A simple example showing the uppercase letter K using hexadecimal code, decimal HTML code, the character directly, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\4B";
}
</style>
</head>
<body>
<p>Symbol (hex): K</p>
<p>Symbol (decimal): K</p>
<p>Symbol (direct): K</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The uppercase letter K (U+004B) is universally supported in all browsers and platforms as part of Basic Latin:
👀 Live Preview
See the uppercase letter K in common text contexts:
🧠 How It Works
Hexadecimal Code
K uses the Unicode hexadecimal value 4B to display the letter. The x prefix indicates hexadecimal format.
Decimal HTML Code
K uses the decimal Unicode value 75 to display the same character. This is the ASCII/Unicode decimal for K.
Direct Character
Type K directly in HTML. There is no named entity like &K;; the character itself is the standard approach in body text.
CSS Entity
\4B 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: K. Unicode U+004B sits in Basic Latin. The lowercase form is U+006B (k). In normal text, typing K is preferred.
Use Cases
The uppercase letter K (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
Kdirectly in body content; use entities only when necessary - Serve pages as UTF-8 so Basic Latin characters render without entities
- Use numeric references (
KorK) when escaping is required - Use
\4Bin CSScontentwhen generating the letter via pseudo-elements - Remember uppercase K is U+004B and lowercase k is U+006B when case matters
Don’t
- Overuse numeric entities for
Kin normal readable text - Expect a named HTML entity like
&K;—none exists for this letter - Put CSS escape
\4Bin HTML text nodes - Use padded Unicode notation like U+0004B—the correct value is
U+004B - Use
\0004Bin CSS—the correct escape is\4B
Key Takeaways
Type K directly, or use hex/decimal references
K KFor CSS stylesheets, use the escape in the content property
\4BUnicode U+004B — LATIN CAPITAL LETTER K
Eleventh letter of the Latin alphabet (Basic Latin block)
Previous: R Reverse Solidus (ɿ) Next: Uppercase K Caron
❓ Frequently Asked Questions
K directly, or use K (hex), K (decimal), or \4B in CSS content. For most content, typing K is standard; use numeric or CSS entities when escaping or generating via CSS.U+004B (LATIN CAPITAL LETTER K). Basic Latin block. Hex 4B, decimal 75. It is the eleventh letter of the Latin alphabet.::before/::after, ensuring encoding in legacy systems, or building strings programmatically. In normal body text, typing K is preferred.K or K) is used in HTML content or attributes. The CSS entity (\4B) is used in CSS, e.g. in the content property of pseudo-elements. Both produce K but in different contexts.&K; for the letter K. Use the character K directly, or numeric references K (decimal) or K (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
