HTML Entity for Last Quarter Moon (☾)

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

What Is the Last Quarter Moon Entity?

Last Quarter Moon (☾) is the Miscellaneous Symbols character at Unicode U+263E (LAST QUARTER MOON). It marks the lunar phase when the left half of the moon is illuminated (waning).

Remember
Character     ☾
Unicode       U+263E
Hex entity    ☾
Decimal       ☾
CSS escape    \263E
Named entity  (none)
Related       U+263D = first quarter (☽)

All of these produce the same glyph: ☾ (when the font supports U+263E). Prefer numeric entities in HTML; use CSS \263E only in content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Hex entity☾HTML markup
Decimal entity☾HTML markup
CSS escape\263EStylesheet content
Direct character☾UTF-8 HTML text
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Need an entity in HTML source☾ or ☾
Generated text via ::before / ::aftercontent: "\263E"
UTF-8 page, typing is easyType ☾ directly
First quarter moon insteadUse First Quarter Moon (U+263D)
AccessibilityAdd nearby text or aria-label (e.g. “Last quarter moon”)

Live Preview

Last Quarter Moon in lunar phase contexts.

Labeled ☾ Last Quarter
Large glyph ☾
Calendar Thu 20 ☾ Waning
vs first ☽ (first)  |  ☾ (last)
With entities Hex: ☾ | Decimal: ☾

Complete HTML Example

One page that shows Last Quarter Moon with hex, decimal, CSS, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

Four ways to produce ☾ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Last Quarter Moon (☾) in HTML</title>
  <style>
    #point::after {
      content: "\263E";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x263E;</p>
  <p>Using HTML Code: &#9790;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: ☾</p>
  <p>Lunar phase: <span aria-label="Last quarter moon">&#x263E;</span> Last Quarter</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+263E → &#x263E; in HTML. The browser turns it into ☾.

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

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

4. Typed: in UTF-8 you can type ☾ directly — same visual result when the font supports it.

Pitfalls & Tips

Common mistakes when working with Last Quarter Moon.

Named?

No named entity

HTML5 does not define a named entity for U+263E. Use numeric forms.

Look-alikes

Not U+263D or emoji

U+263D is first quarter (☽). U+1F317 is an emoji-style last quarter — different characters.

A11y

Label the phase

Add “Last quarter moon” nearby or use aria-label so the symbol is not silent to assistive tech.

CSS vs HTML

Do not mix escapes

\263E belongs in CSS. &#x263E; / &#9790; belong in HTML.

Semicolon

End references

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

Default

Type ☾ when you can

On UTF-8 pages you may type ☾ directly; entities help when encoding must be explicit.

Browser Support

Last Quarter Moon (U+263E) and its numeric entity forms (&#x263E;, &#9790;, CSS \\263E) are supported in all mainstream browsers when the font includes Miscellaneous Symbols.

✓ Universal support

Last Quarter Moon (☾)

Encode with hex, decimal, or CSS escape — same character when the font supports U+263E.

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+263E / entities Full support

Bottom line: Prefer &#x263E; or &#9790; in HTML. Use \\263E only inside CSS content. Rendering quality depends on the font.

Key Takeaways

  • Unicode: last quarter moon is U+263E (decimal 9790).
  • HTML: use &#x263E; or &#9790; — no named entity.
  • CSS: use \263E inside content for generated text.
  • A11y: pair ☾ with the words “Last quarter moon”.

One line: U+263E → &#x263E; / &#9790; / CSS \263E.

Frequently Asked Questions

Use &#x263E; (hex), &#9790; (decimal), or the CSS escape \263E in the content property. All render ☾ when the font supports Miscellaneous Symbols. There is no named HTML entity.
U+263E (LAST QUARTER MOON). Hex 263E, decimal 9790. It belongs to the Miscellaneous Symbols block.
No. HTML5 does not define a named entity for U+263E. Use numeric references like &#x263E; or &#9790; when you need an entity form.
Use it for lunar phase calendars, astronomy content, weather widgets, and celestial UIs. Prefer numeric entities when encoding must be explicit; type ☾ directly in UTF-8 pages when convenient.
HTML entities (&#9790; or &#x263E;) go in markup. The CSS escape \263E is used in stylesheets (usually in the content property of ::before/::after). Both render ☾.
U+263D (☽) is FIRST QUARTER MOON. U+263E (☾) is LAST QUARTER MOON. U+1F317 is an emoji-style last quarter moon — a different character.

Did you know?

Last Quarter Moon is Unicode U+263E (decimal 9790) — LAST QUARTER MOON. HTML5 has no named entity — use &#x263E; or &#9790;. Do not confuse it with first quarter moon (U+263D) or the emoji form (U+1F317).

Next: Lateral Click

Learn the HTML entity for Lateral Click — next in this sequence.

Lateral Click tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

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