HTML Entity for Lowercase G (g)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+0067

What Is the Lowercase G Entity?

Lowercase g is the Basic Latin character at Unicode U+0067 (LATIN SMALL LETTER G). You can type g directly in HTML, or write it with a numeric character reference when you need an explicit entity form.

Remember
Character     g
Unicode       U+0067
Hex entity    g
Decimal       g
CSS escape    \0067
Named entity  (none)

All of these produce the same glyph: g. Prefer typing g 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 charactergHTML text (default choice)
Hex entitygHTML markup
Decimal entitygHTML markup
CSS escape\0067Stylesheet content
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Normal paragraphs, headings, labelsType g
Need an entity in HTML sourceg or g
Generated text via ::before / ::aftercontent: "\0067"
Looking for &g; or similarDoes not exist — use numeric form
Accented g (e.g. ğ)Different Unicode characters — not U+0067

Live Preview

Lowercase g rendered in common UI contexts.

Inline text The letter g appears in words like guide and grid.
Large glyph g
Alphabet e f g h i
Monospace let tag = "g";
With entities Hex: g | Decimal: g
Not the same ğ (g with breve, U+011F)

Complete HTML Example

One page that shows lowercase g 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 g in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Lowercase G (g) in HTML</title>
  <style>
    #point::after {
      content: "\0067";
    }
  </style>
</head>
<body>
  <p>Lowercase G using Hex Code: &#x67;</p>
  <p>Lowercase G using HTML Code: &#103;</p>
  <p id="point">Lowercase G using CSS Entity: </p>
  <p>Typed directly: g</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+0067 → &#x67; in HTML. The browser turns it into g.

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

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

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

Pitfalls & Tips

Common mistakes when working with the lowercase g entity.

Named?

No &g;

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

CSS vs HTML

Do not mix escapes

\0067 belongs in CSS. &#x67; / &#103; belong in HTML.

Accented

Not ğ or ĭ

G with breve, acute, or other marks are separate Unicode characters — not U+0067.

Default

Type g when you can

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

Semicolon

End references

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

Case

g vs G

Uppercase G is U+0047 — a different code point from U+0067.

Browser Support

Lowercase g (U+0067) and its numeric entity forms (&#x67;, &#103;, CSS \\0067) are supported in all mainstream browsers.

✓ Universal support

Lowercase G (g)

Type g, 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+0067 / entities Full support

Bottom line: Use a typed g for normal text. Prefer &#x67; or &#103; in HTML when encoding must be explicit, and \\0067 only inside CSS content.

Key Takeaways

  • Unicode: lowercase g is U+0067 (decimal 103).
  • HTML: use &#x67; or &#103; when you need an entity.
  • CSS: use \0067 inside content for generated text.
  • Default: type g directly unless encoding requires an entity.

One line: U+0067 → type g, or encode as &#x67; / &#103; / CSS \0067.

Frequently Asked Questions

Use &#x67; (hex), &#103; (decimal), or the CSS escape \0067 in the content property. All render the letter g. In most cases you can also type g directly.
U+0067 (LATIN SMALL LETTER G). Hex 67, decimal 103. It belongs to the Basic Latin (ASCII) block and is the seventh letter of the Latin alphabet.
No. ASCII letters like g do not have named HTML entities in HTML5, so you should use numeric references like &#103; or &#x67; 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 g directly is usually best.
HTML entities (&#103; or &#x67;) go in markup. The CSS escape \0067 is used in stylesheets (usually in the content property of ::before/::after). Both render g.
Plain g is U+0067. Latin small letter g with breve ğ is U+011F — a different character used in Turkish and other languages. Do not substitute one for the other.

Did you know?

Lowercase g is Unicode U+0067 (decimal 103). HTML5 has no named entity for it — use &#x67; or &#103; when you need an entity form. Accented forms like ğ (U+011F) are different characters.

Next: Lowercase G Acute

Learn the HTML entity for ǵ (g with acute) — a different Unicode character from plain g.

Lowercase G Acute 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