Text & Typography

All common text elements, special characters, and edge cases.

Heading Levels

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Inline Text Formatting

This is a paragraph with bold text, italic text, underlined text, and strikethrough text.

This has highlighted text, small text, subscript, and superscript.

Here is inline code, an ABBR, and a short inline quote.

Keyboard input: Ctrl + C. Sample output: Hello, World!. Variable: x = 42.

Blockquote

The only way to do great work is to love what you do.

Lists

Unordered List

Ordered List

  1. Step one
  2. Step two
  3. Step three with sub-steps:
    1. Sub-step 3.1
    2. Sub-step 3.2
  4. Step four

Definition List

HTML
HyperText Markup Language — the standard markup language for web pages.
CSS
Cascading Style Sheets — used for styling HTML elements.
JavaScript
A programming language for the web.

Code Block

function greet(name) {
  return `Hello, ${name}!`;
}

const message = greet("World");
console.log(message); // "Hello, World!"

Special Characters & HTML Entities

CharacterEntityDescription
&&Ampersand
<&lt;Less than
>&gt;Greater than
"&quot;Double quote
'&apos;Apostrophe
©&copy;Copyright
®&reg;Registered
&trade;Trademark
&mdash;Em dash
&ndash;En dash
 &nbsp;Non-breaking space
&euro;Euro sign
£&pound;Pound sign
¥&yen;Yen sign

Unicode Text

Accented: café, naïve, résumé, über, señor

CJK: 漢字テスト (Kanji test), 한국어 (Korean), 中文测试 (Chinese)

Cyrillic: Привет мир (Hello world)

Arabic: مرحبا بالعالم

Hebrew: שלום עולם

Emoji: 👋 🌍 🧪 ✅ ❌ ⚠️ 🔗 📁

Math: ∑ ∏ √ ∞ ≈ ≠ ≤ ≥ ± × ÷

Arrows: ← → ↑ ↓ ↔ ⇐ ⇒ ⇑ ⇓

RTL Paragraph

هذه فقرة كاملة بالعربية لاختبار اتجاه النص من اليمين إلى اليسار. يجب أن يتم عرض هذا النص بشكل صحيح في المتصفحات التي تدعم RTL.

Long Unbroken String

Thisisaverylongstringwithnospacesthatshouldbewrappedcorrectlybythebrowrithoutbreakingthepagelayoutandoverflowingitscontainer123456789

Whitespace Preserved

Column A    Column B    Column C
-------     --------    --------
value1      value2      value3
alpha       beta        gamma

Horizontal Rule

Content above the rule.


Content below the rule.