HTML Entity for Uppercase T (T)

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

What You'll Learn

How to display the uppercase letter T in HTML using entity methods and direct character input. The letter T is the twentieth letter of the Latin alphabet (U+0054) and is part of the Basic Latin block. It appears in proper nouns, acronyms (TCP, TLS, TLD, TypeScript), headings, and any text that requires capitalization. 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 &T; for this letter.

⚡ Quick Reference — Uppercase T Entity

Unicode U+0054

Basic Latin (ASCII)

Hex Code T

Hexadecimal reference

HTML Code T

Decimal reference

Direct Character T

Type directly (no named entity)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+0054
Hex code       T
HTML code      T
Named entity   (none — use T directly)
CSS code       \0054
Meaning        Latin capital letter T
Related        U+0074 = t (lowercase)
Block          Basic Latin (U+0000–U+007F)
1

Complete HTML Example

A simple example showing the uppercase letter T using hexadecimal code, decimal HTML code, the character directly, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #letter:after{
   content: "\0054";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x54;</p>
<p>Symbol (decimal): &#84;</p>
<p>Symbol (direct): T</p>
<p id="letter">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The uppercase letter T (U+0054) is universally supported in all browsers and platforms as part of Basic Latin:

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

👀 Live Preview

See the uppercase letter T in common text contexts:

Large glyphT
Body textThe letter T appears in words like Table, Type, and Time.
AcronymsTCP, TLS, TLD, and TypeScript all include the letter T.
AlphabetP Q R S T
Not the same ast (lowercase, U+0074)
Numeric refs&#x54; &#84; \0054

🧠 How It Works

1

Hexadecimal Code

&#x54; uses the Unicode hexadecimal value 54 to display the letter. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#84; uses the decimal Unicode value 84 to display the same character. This is the ASCII/Unicode decimal for T.

HTML markup
3

Direct Character

Type T directly in HTML. There is no named entity like &T;; the character itself is the standard approach in body text.

HTML markup
4

CSS Entity

\0054 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All methods produce the glyph: T. Unicode U+0054 sits in Basic Latin. The lowercase form is U+0074 (t). In normal text, typing T is preferred over numeric entities.

Use Cases

The uppercase letter T (or its entity forms) is commonly used in:

📝 Capitalization

Sentence starts, proper nouns, and titles where the letter T begins a word.

📚 Documentation

Tutorials, API docs, and code samples that show the character T as an entity or escape.

📐 Acronyms

Abbreviations such as TCP, TLS, TLD, and TypeScript where T appears in the name.

🌐 Internationalization

Proper nouns and place names in English, Spanish, French, Portuguese, and other Latin-script languages.

📄 Headings & titles

Page titles, section headings, and navigation labels that start with T.

⚙ Programmatic HTML

When building HTML in code, using &#84; or &#x54; ensures correct output regardless of encoding context.

🎨 CSS generated content

Using \0054 in the CSS content property to insert T via pseudo-elements.

💡 Best Practices

Do

  • Type T directly in body content; use entities only when necessary
  • Serve pages as UTF-8 so Basic Latin characters render without entities
  • Use numeric references (&#x54; or &#84;) when escaping is required
  • Use \0054 in CSS content when generating the letter via pseudo-elements
  • Remember uppercase T is U+0054 and lowercase t is U+0074 when case matters

Don’t

  • Overuse numeric entities for T in normal readable text
  • Expect a named HTML entity like &T;—none exists for this letter
  • Use \00054 in CSS—the correct escape is \0054
  • Double-encode numeric references in dynamically generated HTML
  • Put CSS escape \0054 in HTML text nodes

Key Takeaways

1

Type T directly, or use hex/decimal references

&#x54; &#84;
2

For CSS stylesheets, use the escape in the content property

\0054
3

Unicode U+0054 — LATIN CAPITAL LETTER T

4

Twentieth letter of the Latin alphabet (Basic Latin block)

❓ Frequently Asked Questions

Type T directly, or use &#x54; (hex), &#84; (decimal), or \0054 in CSS content. There is no named HTML entity for T. For most content, typing T is standard; use numeric or CSS entities when escaping or generating via CSS.
U+0054 (LATIN CAPITAL LETTER T). Basic Latin block. Hex 54, decimal 84. It is the twentieth letter of the Latin alphabet and a standard character in virtually all Western scripts.
When you need to escape or reference the character explicitly, in programmatic HTML generation, documentation showing the character, or systems that expect character references. In normal UTF-8 text, typing T directly is usually sufficient.
No. There is no named HTML entity for the uppercase T. Use numeric codes &#84; or &#x54;, or the CSS entity \0054. In UTF-8 pages you can type T directly.
HTML code (&#84; or &#x54;) is used in HTML content; CSS entity \0054 is used in stylesheets in the content property of pseudo-elements. Both produce the character T.

Explore More HTML Entities!

Discover 1500+ HTML character references — letters, 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