HTML Entity for Lowercase K (k)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+006B

What You'll Learn

How to display the lowercase letter k in HTML using entity methods and direct character input. The letter k is the eleventh letter of the Latin alphabet (U+006B) and is part of the Basic Latin block. It appears in everyday text, programming documentation, mathematical notation (including unit vectors), and academic content. 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 — Lowercase K Entity

Unicode U+006B

Basic Latin (ASCII)

Hex Code k

Hexadecimal reference

HTML Code k

Decimal reference

Direct Character k

Type directly (no named entity)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+006B
Hex code       k
HTML code      k
Named entity   (none — use k directly)
CSS code       \006B
Meaning        Latin small letter k
Related        U+004B = K (uppercase)
Block          Basic Latin (U+0000–U+007F)
1

Complete HTML Example

A simple example showing the lowercase letter k using hexadecimal code, decimal HTML code, the character directly, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\006B";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x6b;</p>
<p>Symbol (decimal): &#107;</p>
<p>Symbol (direct): k</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

The lowercase letter k (U+006B) is universally supported in all browsers and platforms as part of Basic Latin:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the lowercase letter k in common text contexts:

Large glyphk
Body textThe letter k appears in words like kind, book, and keyboard.
Programmingfor (k = 0; k < n; k++)
Alphabeti j k l m
Not the same asǩ (k with caron) or uppercase K (U+004B)
Numeric refs&#x6b; &#107; \006B

🧠 How It Works

1

Hexadecimal Code

&#x6b; uses the Unicode hexadecimal value 6B to display the letter. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#107; uses the decimal Unicode value 107 to display the same character. This is the ASCII/Unicode decimal for k.

HTML markup
3

Direct Character

Type k directly in HTML. There is no named entity like &k;; the character itself is the standard approach in body text.

HTML markup
4

CSS Entity

\006B is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All methods produce the glyph: k. Unicode U+006B sits in Basic Latin. The uppercase form is U+004B (K). Do not confuse plain k with ǩ (k with caron). In normal text, typing k is preferred.

Use Cases

The lowercase letter k (or its entity forms) is commonly used in:

📝 Body text

Standard character in paragraphs, articles, and any Latin-script text. Usually typed directly.

📚 Academic content

Mathematical notation, indices, and variables like k in scientific and educational material.

💻 Programming docs

Variable names and loop counters (e.g. i, j, k) in code snippets and tutorials.

🌐 Internationalization

Words in English, German, Dutch, and many other Latin-script languages.

📄 Headings & titles

Headings and page titles where the letter k appears in text content.

⚙ Programmatic HTML

When building HTML in code, using &#107; or &#x6b; ensures correct output regardless of encoding context.

🎨 CSS generated content

Using \006B in the CSS content property to insert k via pseudo-elements.

💡 Best Practices

Do

  • Type k directly in body content; use entities only when necessary
  • Serve pages as UTF-8 so Basic Latin characters render without entities
  • Use numeric references (&#x6b; or &#107;) when escaping is required
  • Use \006B in CSS content when generating the letter via pseudo-elements
  • Remember lowercase k is U+006B and uppercase K is U+004B when case matters

Don’t

  • Overuse numeric entities for k in normal readable text
  • Expect a named HTML entity like &k;—none exists for this letter
  • Confuse plain k (U+006B) with ǩ (k with caron, U+01E9)
  • Confuse the letter k with the <kbd> element (keyboard input markup)
  • Put CSS escape \006B in HTML text nodes

Key Takeaways

1

Type k directly, or use hex/decimal references

&#x6b; &#107;
2

For CSS stylesheets, use the escape in the content property

\006B
3

Unicode U+006B — LATIN SMALL LETTER K

4

Eleventh letter of the Latin alphabet (Basic Latin block)

❓ Frequently Asked Questions

Type k directly, or use &#x6b; (hex), &#107; (decimal), or \006B in CSS content. For most content, typing k is standard; use numeric or CSS entities when escaping or generating via CSS.
U+006B (LATIN SMALL LETTER K). Basic Latin block. Hex 6B, decimal 107. It is the eleventh letter of the Latin alphabet and a standard character in virtually all Western scripts.
For normal text, typing k is preferred. Use numeric or CSS entities when generating HTML programmatically, escaping in attributes, using CSS ::before/::after content, or ensuring encoding in legacy systems.
No. Named HTML entities exist for a limited set of characters. The lowercase letter k has no named entity. Use the character directly or numeric references (&#x6b; or &#107;) or CSS \006B when needed.
The letter k (U+006B) is the character you use inside content. The HTML element <kbd> is for marking up keyboard input (e.g. keyboard keys). They are unrelated: one is a character, the other is a semantic markup element.

Explore More HTML Entities!

Discover 1500+ HTML character references — letters, symbols, and more.

All HTML Entities →

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.

8 people found this page helpful