HTML Entity for Logical AND (∧)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+2227

What You'll Learn

How to display the Logical AND (∧) symbol in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+2227 (LOGICAL AND) in the Mathematical Operators block (U+2200–U+22FF).

Render it with ∧, ∧, ∧, or CSS escape \2227. It denotes logical conjunction (“and”) in logic, mathematics, and programming. Related: Logical OR (∨, ∨) is disjunction, not the same as ∧.

⚡ Quick Reference — Logical AND

Unicode U+2227

Mathematical Operators

Hex Code ∧

Hexadecimal reference

HTML Code ∧

Decimal reference

Named Entity ∧

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2227
Hex code       ∧
HTML code      ∧
Named entity   ∧
CSS code       \2227
Meaning        Logical AND (conjunction)
Related        U+2228 = OR (∨)
Block          Mathematical Operators (U+2200–U+22FF)
1

Complete HTML Example

A simple example showing the Logical AND symbol (∧) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2227";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x2227;</p>
<p>Symbol (decimal): &#8743;</p>
<p>Symbol (named): &and;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Logical AND symbol (∧) is supported in modern browsers with a math-capable font:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the Logical AND symbol (∧) in logic and programming contexts:

Large glyph
Named entity&and; renders as ∧
ExpressionP ∧ Q (P AND Q)
Compare∧ (AND) vs ∨ (OR)
Numeric refs&#x2227; &#8743; &and; \2227

🧠 How It Works

1

Hexadecimal Code

&#x2227; uses the Unicode hexadecimal value 2227 to display the symbol.

HTML markup
2

Decimal HTML Code

&#8743; uses the decimal Unicode value 8743 to display the same character.

HTML markup
3

Named Entity

&and; is the semantic named entity for ∧—readable in source HTML and part of the HTML5 character set.

HTML markup
4

CSS Entity

\2227 is used in CSS stylesheets, particularly in the content property of pseudo-elements.

CSS stylesheet
=

Same visual result

All four methods produce the glyph: . Unicode U+2227 is in Mathematical Operators. Related: Curly Logical AND, Logical OR.

Use Cases

The Logical AND symbol (∧) is commonly used in:

🔢 Logic notation

Represent logical conjunction in formal logic (e.g., P ∧ Q).

💻 Programming tutorials

Explain boolean AND operators and truth tables in educational content.

📚 Academic papers

Formal definitions and proofs in mathematics and computer science.

📊 Set theory

Intersection and logical connectives in set notation discussions.

⚡ Boolean algebra

Circuit diagrams, AND gates, and digital logic explanations.

🔍 Query logic

Show search syntax and filter logic in documentation.

📖 Reference docs

Document logical operators in API docs and language references.

💡 Best Practices

Do

  • Use &and; for readable source markup in logic content
  • Use math fonts (Cambria Math, Noto Sans Math) for reliable rendering
  • Clarify that ∧ is logical AND, not exponentiation (^)
  • Provide context when meaning matters (e.g. “P AND Q”)
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse &and; with the HTML <and> tag name in prose
  • Confuse ∧ (logical AND) with the caret ^ used for exponentiation
  • Put CSS escape \2227 in HTML text nodes
  • Rely on the symbol alone for screen reader users
  • Assume every system font renders Mathematical Operators clearly

Key Takeaways

1

Four HTML/CSS references all render ∧

&#x2227; &#8743; &and;
2

For CSS stylesheets, use the escape in the content property

\2227
3

Unicode U+2227 — LOGICAL AND

4

Prefer &and; for readability; OR is &or; (∨)

5

Previous: Lj (lj)   Next: Logical OR (∨)

❓ Frequently Asked Questions

Use &#x2227; (hex), &#8743; (decimal), &and; (named), or \2227 in CSS content. All produce ∧.
U+2227 (LOGICAL AND). Mathematical Operators block (U+2200–U+22FF). Hex 2227, decimal 8743. Named entity: &and;.
In logic notation, programming tutorials, mathematical content, academic papers, set theory, boolean algebra, circuit diagrams, and any content requiring the conjunction operator.
&and; is the named HTML entity for ∧. It is part of the HTML5 named character set and the most readable option in source markup.
∧ (&and;) is logical conjunction (AND). ∨ (&or;) is logical disjunction (OR). They represent different boolean operations.

Explore More HTML Entities!

Discover 1500+ HTML character references — logic operators, math symbols, and more.

All HTML Entities →

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