This is the Unicode character Line Feed, code point U+000A (decimal 10) in the Basic Latin block, added in Unicode 1.1. In HTML write 
, and in UTF-8 it is the single byte 0A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+000A |
| Decimal | 10 |
| UTF-8 bytes | 0A |
| UTF-16 (big-endian) | 000A |
| UTF-32 | 0000000A |
| HTML decimal | |
| HTML hex | 
 |
| HTML named | 
 |
| CSS | \A |
| JavaScript | \u000A |
| JSON | \u000A |
| Python | \u000A |
| Java, C# | \u000A |
| Rust, Swift | \u{A} |
| Go, C, C++ | \u000A |
| URL (percent-encoded) | %0A |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | Line Feed |
| Code point | U+000A (decimal 10) |
| Block | Basic Latin (U+0000–U+007F) |
| General category | Cc: Control character |
| Script | Common |
| Bidirectional class | B: Paragraph separator |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Basic Latin
- U+0002 Start Of Text
- U+0003 End Of Text
- U+0004 End Of Transmission
- U+0005 Enquiry
- U+0006 Acknowledge
- U+0007 Alert
- U+0008 Backspace
- U+0009 Character Tabulation
- U+000B Line Tabulation
- U+000C Form Feed
- U+000D Carriage Return
- U+000E Shift Out
- U+000F Shift In
- U+0010 Data Link Escape
- U+0011 Device Control One
- U+0012 Device Control Two
All 128 characters: Basic Latin.
Official reference
Questions people ask
- What is the HTML code for Line Feed?
- Use the named entity 
, or (decimal) or 
 (hex).
- What is the UTF-8 encoding of U+000A?
- 0A (hex), 1 byte. In a URL it is %0A.
- How do I write U+000A in JavaScript or Python?
- JavaScript: \u000A. Python: \u000A.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in