Using Special Characters with HTML
|
If you use special characters, such as <, >,and /, in an HTML document, the browser may translate these characters as HTML tags and not display the characters properly. To ensure that special characters are displayed properly, use the HTML character code instead of typing the character itself. Each character code begins with an ampersand (&) and ends with a semicolon (;). You do not need to place the character code within tags. The following table contains some commonly-used special characters and their corresponding character code.
|