HTML Entity for Logical AND (∧)

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

What Is the Logical AND Entity?

Logical AND (∧) is the Mathematical Operators character at Unicode U+2227 (LOGICAL AND). It denotes boolean conjunction — P ∧ Q is true only when both P and Q are true.

Remember
Character     ∧
Unicode       U+2227
Hex entity    ∧
Decimal       ∧
Named entity  ∧ · ∧
CSS escape    \2227
Not the same  ∨ (∨) · ∩ (∩)

Named, hex, decimal, CSS, and a typed character all produce the same glyph: ∧. Prefer ∧ (or ∧) in HTML source for clarity.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity∧ / ∧HTML markup (best default)
Hex entity∧HTML markup
Decimal entity∧HTML markup
CSS escape\2227Stylesheet content
Direct character∧UTF-8 HTML text

When to Use Which

SituationUse
Readable logic HTML source∧ (or ∧)
Need a numeric entity in HTML∧ or ∧
Generated text via ::before / ::aftercontent: "\2227"
Logical OR (∨)Use ∨ (U+2228)
Set intersection (∩)Use ∩ (U+2229)

Live Preview

Logical AND in common logic and math contexts.

Expression P ∧ Q
Large glyph ∧
Named entity ∧ → ∧
vs OR / ∩ ∧  |  ∨  |  ∩
With entities Named: ∧ | Hex: ∧ | Decimal: ∧

Complete HTML Example

One page that shows this symbol with named, hex, decimal, and CSS forms. Use View Output or open the live editor.

Named + Hex + Decimal + CSS

Four ways to produce ∧ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Logical AND (∧)</title>
  <style>
    #point::after {
      content: "\2227";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x2227;</p>
  <p>Using HTML Code: &#8743;</p>
  <p>Using Named Entity: &and;</p>
  <p id="point">Using CSS Entity: </p>
  <p><code>P &and; Q</code></p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &and; (alias &wedge;) is the clearest HTML form and renders ∧.

2. Hex: U+2227 → &#x2227; in HTML. Same result as the named entity.

3. Decimal: same code point as 8743 → &#8743;. Same result as hex.

4. CSS: use \2227 in content (not an HTML entity). #point::after appends that ∧ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with Logical AND.

Look-alikes

∧ ≠ ∨ ≠ ∩

OR (&or;) and intersection (&cap;) are different characters. Use U+2227 only for logical conjunction.

Code vs math

Not the same as &&

In programming source, && is an operator in code. In HTML prose or math, use &and; to display the ∧ symbol.

Aliases

&and; = &wedge;

Both named entities map to U+2227. Prefer one style consistently in a document.

CSS vs HTML

Do not mix escapes

\2227 belongs in CSS. &and; / &#x2227; / &#8743; belong in HTML.

A11y

Add nearby words

Pair the glyph with words (for example P &and; Q / “P AND Q”) or use aria-label when it stands alone.

Semicolon

End references

Always finish with ; — write &and;, not &and.

Browser Support

Logical AND (U+2227) and its entity forms (&and;, &wedge;, &#x2227;, &#8743;, CSS \\2227) are supported in all modern browsers.

✓ Universal encoding

Logical AND (∧)

Encode with named, hex, decimal, or CSS escape — or type ∧ directly in UTF-8 HTML.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer IE 9+
Yes*
U+2227 Full support

Bottom line: Prefer &and; for readable HTML. Use \\2227 only inside CSS content.

Key Takeaways

  • Unicode: this symbol is U+2227 (decimal 8743).
  • HTML: prefer &and; (alias &wedge;) — or use &#x2227; / &#8743;.
  • CSS: use \2227 inside content for generated text.
  • Watch out: U+2227 ≠ &or; ≠ &cap;.

One line: U+2227 → &and; / &#x2227; / &#8743; / CSS \2227.

Frequently Asked Questions

Use &and; or &wedge; (named), &#x2227; (hex), &#8743; (decimal), or the CSS escape \2227 in the content property. All render ∧.
U+2227 (LOGICAL AND). Hex 2227, decimal 8743. It belongs to Mathematical Operators (U+2200–U+22FF).
Yes. Both &and; and &wedge; are named HTML5 entities for ∧ and are supported in all modern browsers.
Use it in boolean algebra, discrete math, programming docs, and logic expressions such as P ∧ Q. Prefer &and; for readable source.
HTML entities (&and;, &#8743;, or &#x2227;) go in markup. The CSS escape \2227 is used in stylesheets (usually in the content property of ::before/::after). Both render ∧.
No. ∧ is logical conjunction (&and;, U+2227). ∩ is set intersection (&cap;, U+2229). They look different and mean different things.

Did you know?

Logical AND is Unicode U+2227 (decimal 8743) — LOGICAL AND in Mathematical Operators. HTML5 provides &and; and &wedge; — both render ∧. Prefer &and; for readable logic markup. Logical OR is &or; (∨, U+2228).

Next: Logical OR

Learn the HTML entity for Logical OR — next in this sequence.

Continue 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