Digit Four vs Less-Than Sign
VS
Property Comparison
| Property | 4 0034 | < 003C |
|---|---|---|
| Name | Digit Four | Less-Than Sign |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Basic Latin |
| Script | Zyyy | Zyyy |
| General Category | Decimal Number (Nd) | Math Symbol (Sm) |
| Bidirectional | EN | ON |
Encoding Comparison
| Format | 0034 | 003C |
|---|---|---|
| Unicode | U+0034 | U+003C |
| HTML Decimal | 4 | < |
| HTML Hex | 4 | < |
| CSS | \0034 | \003C |
| JavaScript | \u{34} | \u{3C} |
| Python | \u0034 | \u003c |
| UTF-8 | 34 | 3c |
How to Distinguish
Both Digit Four and Less-Than Sign belong to the Latin Extended category and the Basic Latin block. Compare their codepoints and visual rendering to distinguish them.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.