HTML Entity for Opposition (☍)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+260D

What Is Opposition?

Opposition (☍) is the Unicode character at U+260D in the Miscellaneous Symbols block. It is an astronomy / astrology aspect symbol — used when two bodies appear roughly 180° apart — not a Boolean or math operator.

Remember
Character     ☍
Unicode       U+260D
Hex entity    ☍
Decimal       ☍
CSS escape    \260D
Named entity  (none for U+260D)
Not the same  ☌ U+260C · ¬ U+00AC

Prefer typing ☍ in UTF-8 HTML when your editor supports it; use ☍ or ☍ when you need an explicit entity.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character☍HTML text (UTF-8)
Hex entity☍HTML markup
Decimal entity☍HTML markup
CSS escape\260DStylesheet content
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Astronomy / astrology charts (180°)☍ or type ☍
Planetary conjunction (bodies close)☌ U+260C
Boolean / math “not”¬ U+00AC
Boolean / math “and”∧ U+2227
Generated text via ::before / ::aftercontent: "\260D"

Live Preview

Opposition rendered alone and next to related symbols.

Inline text Mars ☍ Saturn
Large glyph ☍
Aspect label ☍ Opposition (180°)
Compared ☍   ☌   ¬
With entities Hex: ☍ | Decimal: ☍

Complete HTML Example

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

Hex + Decimal + CSS + Typed

Four ways to produce ☍, plus a chart-style example.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Opposition (☍) in HTML</title>
  <style>
    #point::after {
      content: "\260D";
    }
  </style>
</head>
<body>
  <p>Opposition using Hex Code: &#x260D;</p>
  <p>Opposition using HTML Code: &#9741;</p>
  <p id="point">Opposition using CSS Entity: </p>
  <p>Typed directly: ☍</p>
  <p>Example: Mars &#x260D; Saturn</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+260D → &#x260D; in HTML → ☍.

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

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

4. Typed / example: paste ☍ in UTF-8, or write Mars &#x260D; Saturn for aspect notation.

Pitfalls & Tips

Common mistakes when working with Opposition.

Named?

No named entity

HTML5 has no &…; name for U+260D. Use &#x260D; or &#9741;.

☌

Not conjunction

☌ (U+260C) is conjunction. ☍ (U+260D) is opposition. Pick the aspect you mean.

Logic

Not Boolean NOT

For logical “not”, use ¬ (U+00AC / &not;). ☍ is an aspect symbol.

A11y

Pair with text

Add a visible label like “Opposition” so the meaning is clear without relying on the glyph alone.

CSS vs HTML

Do not mix escapes

\260D belongs in CSS strings. &#x260D; / &#9741; belong in HTML.

Semicolon

End references

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

Browser Support

Opposition (U+260D) and its numeric entity forms (&#x260D;, &#9741;, CSS \\260D) are supported in all mainstream browsers. Visible glyphs depend on font coverage.

✓ Universal support

Opposition (☍)

Encode with hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.

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+260D / entities Full support

Bottom line: Use &#x260D; or &#9741; in HTML for the astronomy opposition glyph, and \\260D only inside CSS content. Prefer ¬ / &not; for logical NOT.

Key Takeaways

  • Unicode: opposition is U+260D (decimal 9741) — glyph ☍.
  • HTML: type ☍, or use &#x260D; / &#9741; (no named entity).
  • CSS: use \260D inside content for generated text.
  • Watch out: ☍ ≠ ☌ ≠ ¬ (opposition ≠ conjunction ≠ logical NOT).

One line: U+260D → &#x260D; / &#9741; / CSS \260D / type ☍.

Frequently Asked Questions

Use &#x260D; (hex), &#9741; (decimal), type ☍ directly in UTF-8, or the CSS escape \260D in content. There is no named HTML entity for U+260D.
U+260D (hex 260D, decimal 9741). It belongs to the Miscellaneous Symbols block and represents astronomical or astrological opposition.
No. Use numeric references like &#9741; or &#x260D;, or type the character ☍ in a UTF-8 document.
Use it in astronomy or astrology content that needs the opposition glyph (bodies ~180° apart). For Boolean NOT, use ¬ (U+00AC / &not;) — not ☍.
HTML entities (&#9741; or &#x260D;) go in markup. The CSS escape \260D goes in stylesheet strings (usually content on ::before/::after).
☍ (U+260D) is opposition. ☌ (U+260C) is conjunction. ¬ (U+00AC) is the not sign for Boolean logic.

Did you know?

Opposition is Unicode U+260D (decimal 9741) — glyph ☍ in the Miscellaneous Symbols block. It is an astronomy / astrology aspect for bodies roughly 180° apart, not a Boolean operator. HTML5 has no named entity. Do not confuse it with conjunction ☌ (U+260C) or not sign ¬ (U+00AC).

Next: Original Of

Learn the HTML entity for original of (U+22B6).

Original Of 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