HTML Entity for Lowercase Z (z)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+007A

What Is the Lowercase Z Entity?

Lowercase z (z) is the Basic Latin character at Unicode U+007A (LATIN SMALL LETTER Z). It is the twenty-sixth letter of the Latin alphabet. You can type z directly in HTML, or write it with a numeric character reference when you need an explicit entity form.

Remember
Character     z
Unicode       U+007A
Hex entity    z
Decimal       z
CSS escape    \007A
Named entity  (none)
Capital       Z (U+005A)

All of these produce the same glyph: z. Prefer typing z in normal page text; use entities for CSS content, generated markup, or when encoding must be explicit.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct characterzHTML text (default choice)
Hex entityzHTML markup
Decimal entityzHTML markup
CSS escape\007AStylesheet content
Named entityNoneHTML5 does not define one

When to Use Which

SituationUse
Normal paragraphs, headings, labelsType z
Need an entity in HTML sourcez or z
Generated text via ::before / ::aftercontent: "\007A"
Capital letter ZType Z or see Uppercase Z (U+005A)
Accented źSee Lowercase Z Acute (U+017A)

Live Preview

Lowercase z rendered in common text contexts.

Inline text The letter z ends the alphabet.
Large glyph z
Hex entity z → z
vs Z / ź z  |  Z  |  ź
With entities Hex: z | Decimal: z

Complete HTML Example

One page that shows lowercase z with the hex entity, decimal entity, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

All four ways to produce z in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Lowercase Z (z)</title>
  <style>
    #point::after {
      content: "\007A";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x7a;</p>
  <p>Using HTML Code: &#122;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: z</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+007A → &#x7a; in HTML. The browser turns it into z.

2. Decimal: same code point as 122 → &#122;. Same result as hex.

3. CSS: use \007A in content (not an HTML entity). #point::after appends that z after the paragraph text.

4. Typed z: best for normal text. All four lines show the same letter.

Pitfalls & Tips

Common mistakes when working with lowercase z.

Named?

No &z;

HTML5 does not define a named entity for ASCII letters. Use numeric forms when needed.

Default

Type z when you can

Entities are for encoding needs — not required for ordinary body text.

Look-alikes

Not Z or ź

Uppercase Z is U+005A. Accented ź is U+017A. Keep case and accents distinct.

CSS vs HTML

Do not mix escapes

\007A belongs in CSS. &#x7a; / &#122; belong in HTML.

CSS tip

Prefer padded escapes

Use \007A (not bare \7A before digits) so the next character is not absorbed into the escape.

Semicolon

End references

Always finish with ; — write &#122;, not &#122.

Browser Support

Lowercase z (U+007A) and its numeric entity forms (&#x7a;, &#122;, CSS \\007A) are supported in all mainstream browsers.

✓ Universal support

Lowercase Z (z)

Type z, or encode with hex, decimal, or CSS escape — same glyph everywhere.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+007A Full support

Bottom line: Use a typed z for normal text. Prefer &#x7a; or &#122; in HTML when encoding must be explicit, and \\007A only inside CSS content.

Key Takeaways

  • Unicode: this character is U+007A (decimal 122).
  • HTML: type z by default — or use &#x7a; / &#122;. No named entity.
  • CSS: use \007A inside content for generated text.
  • Watch out: z ≠ Z ≠ ź (U+017A).

One line: U+007A → type z / &#x7a; / &#122; / CSS \007A.

Frequently Asked Questions

Use &#x7a; (hex), &#122; (decimal), or the CSS escape \007A in the content property. All render z. In most cases you can also type z directly.
U+007A (LATIN SMALL LETTER Z). Hex 7A, decimal 122. It belongs to the Basic Latin (ASCII) block and is the twenty-sixth letter of the Latin alphabet.
No. ASCII letters like z do not have named HTML entities in HTML5. Use numeric references like &#122; or &#x7a; when you need an entity form.
Use entities when generating content in CSS, when you want explicit encoding, or when outputting into contexts where escaping is required. For normal body text, typing z directly is usually best.
HTML entities (&#122; or &#x7a;) go in markup. The CSS escape \007A is used in stylesheets (usually in the content property of ::before/::after). Both render z.
No. Uppercase Z is U+005A. Lowercase z with acute (ź) is U+017A. They are different characters.

Did you know?

Lowercase z is Unicode U+007A (decimal 122) — LATIN SMALL LETTER Z in Basic Latin. HTML5 has no named entity for it — use &#x7a; or &#122; when you need an entity form. For normal body text, typing z directly is best.

Next: Lowercase Z Acute

Learn the HTML entity for Lowercase Z Acute — next in this sequence.

Continue tutorial →

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