Unicode & HTML

Unicode code points, HTML entities, and developer references.

Use the sections and guides below to explore this subject in a clear, practical order.

Explore Unicode & HTML

UAHUnicode and HTML Character ReferenceUnicode and HTML character code reference.WAUWhat Are Unicode Code Points?Learn how Unicode code points work.HCRHTML Character References ExplainedUnderstand HTML character references.UBAUnicode Blocks and Character RangesGuide to Unicode blocks and ranges.DVHDecimal vs. Hexadecimal HTML CodesCompare decimal and hexadecimal HTML codes.UCEUTF-8 Character Encoding GuideUnderstand UTF-8 character encoding.CEACharacter Encoding and Garbled TextFix character encoding and garbled text.CUECSS Unicode EscapesGuide to CSS Unicode escapes.JUEJavaScript Unicode EscapesGuide to JavaScript Unicode escapes.NSHNonbreaking Space HTML EntityA nonbreaking space prevents a line break at its position. It is useful between values and units or within short names that should stay together.AHEApostrophe HTML EntityAn apostrophe must be encoded inside a single-quoted HTML attribute value when it belongs to the value rather than ending the attribute.QMHQuotation Mark HTML EntityA double quotation mark must be encoded inside a double-quoted HTML attribute value when it belongs to the value rather than ending the attribute.GSHGreater-Than Sign HTML EntityThe greater-than sign normally does not begin markup by itself, but encoding it can make displayed code and comparison expressions clearer and more symmetrical.LSHLess-Than Sign HTML EntityThe less-than sign can begin an HTML tag. Encode it whenever the character is intended to appear as ordinary text rather than markup.AHEAmpersand HTML EntityThe ampersand begins every HTML character reference, so a literal ampersand should be encoded when it could be read as the start of an entity.