2. Special Characters in XHTML:
Some common characters cannot be written directly into
our code as the XHTML processor (browser) would
confuse them for our markup (code).
Sometimes we need to show a character that is not on
the typical keyboard, such as a copyright symbol or a
character from a foreign language.
Another issue is that XHTML ignores multiple spaces,
but there are occasions in which we want to display
multiple consecutive spaces.
We solve all these issues by using special characters.
3. Common Special Characters:
Special Character XHTML Code Displays As
Blank Space
Open or Close Quote " "
Ampersand & &
Less Than < <
Greater Than > >
The last four characters in this table would easily confuse the
browser. Without using this method, how would it know whether we
were writing XHTML code or whether we wanted to display the
character itself?