O'Reilly logo

HTML, XHTML, and CSS: Your visual blueprint™ for designing effective Web pages by Rob Huddleston

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. ADDING SPECIALIZED MARKUP

Add Special Characters to Your Page

XHTML supports a set of character entities, which are codes that represent special characters that will be interpreted by the browser to display non-standard characters. The syntax to create any of these entities is to use an ampersand, followed by the code for the character, followed by a semicolon.

These entities fall into three main categories. The first contains a single entity,  , which represents a non-breaking space. As browsers will ignore consecutive whitespace characters, this entity lets you force additional space as needed. The second category contains four characters which, if typed in directly, would potentially confuse the browser. They are the two angle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required