HTML Entity for Lowercase P (p)

What You'll Learn
How to display the lowercase letter p in HTML using entity methods and direct character input. The letter p is the sixteenth letter of the Latin alphabet (U+0070) and is part of the Basic Latin block. It appears in everyday text, mathematical notation (e.g. variable p for momentum, probability, or pressure), documentation, and academic content. In most cases you can type it directly; numeric or CSS entities are useful when escaping, generating content via CSS, or ensuring correct encoding.
This character can be displayed using the character itself, a hexadecimal reference, a decimal reference, or a CSS escape in the content property. There is no named HTML entity like &p; for this letter.
⚡ Quick Reference — Lowercase P Entity
U+0070Basic Latin (ASCII)
pHexadecimal reference
pDecimal reference
pType directly (no named entity)
Name Value
──────────── ──────────
Unicode U+0070
Hex code p
HTML code p
Named entity (none — use p directly)
CSS code \0070
Meaning Latin small letter p
Related U+0050 = P (uppercase)
Block Basic Latin (U+0000–U+007F)Complete HTML Example
A simple example showing the lowercase letter p using hexadecimal code, decimal HTML code, the character directly, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\0070";
}
</style>
</head>
<body>
<p>Symbol (hex): p</p>
<p>Symbol (decimal): p</p>
<p>Symbol (direct): p</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The lowercase letter p (U+0070) is universally supported in all browsers and platforms as part of Basic Latin:
👀 Live Preview
See the lowercase letter p in common text contexts:
🧠 How It Works
Hexadecimal Code
p uses the Unicode hexadecimal value 70 to display the letter. The x prefix indicates hexadecimal format.
Decimal HTML Code
p uses the decimal Unicode value 112 to display the same character. This is the ASCII/Unicode decimal for p.
Direct Character
Type p directly in HTML. There is no named entity like &p;; the character itself is the standard approach in body text.
CSS Entity
\0070 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All methods produce the glyph: p. Unicode U+0070 sits in Basic Latin. The uppercase form is U+0050 (P). In normal text, typing p is preferred over numeric entities.
Use Cases
The lowercase letter p (or its entity forms) is commonly used in:
Standard character in paragraphs, articles, and any Latin-script text. Usually typed directly.
Tutorials, API docs, and code samples that show the character p as an entity or escape.
Variable names, subscripts, and notation where p represents momentum, probability, or pressure.
Words in English, Spanish, French, Portuguese, and many other Latin-script languages.
Headings and page titles where the letter p appears in text content.
When building HTML in code, using p or p ensures correct output regardless of encoding context.
Using \0070 in the CSS content property to insert p via pseudo-elements.
💡 Best Practices
Do
- Type
pdirectly in body content; use entities only when necessary - Serve pages as UTF-8 so Basic Latin characters render without entities
- Use numeric references (
porp) when escaping is required - Use
\0070in CSScontentwhen generating the letter via pseudo-elements - Remember lowercase p is U+0070 and uppercase P is U+0050 when case matters
Don’t
- Overuse numeric entities for
pin normal readable text - Expect a named HTML entity like
&p;—none exists for this letter - Substitute Greek rho (ρ) or Cyrillic er (р) when the Latin letter p is intended
- Double-encode numeric references in dynamically generated HTML
- Put CSS escape
\0070in HTML text nodes
Key Takeaways
Type p directly, or use hex/decimal references
p pFor CSS stylesheets, use the escape in the content property
\0070Unicode U+0070 — LATIN SMALL LETTER P
Sixteenth letter of the Latin alphabet (Basic Latin block)
Previous: Lowercase Ou (ȣ) Next: Lowercase P Hook
❓ Frequently Asked Questions
p directly, or use p (hex), p (decimal), or \0070 in CSS content. There is no named HTML entity for p. For most content, typing p is standard; use numeric or CSS entities when escaping or generating via CSS.U+0070 (LATIN SMALL LETTER P). Basic Latin block. Hex 70, decimal 112. It is the sixteenth letter of the Latin alphabet and a standard character in virtually all Western scripts.p or p, or the CSS entity \0070. In UTF-8 pages you can type p directly.p or p) is used in HTML content; CSS entity \0070 is used in stylesheets in the content property of pseudo-elements. Both produce the character p.Explore More HTML Entities!
Discover 1500+ HTML character references — letters, symbols, and more.
8 people found this page helpful
