Reserved Characters
A few characters used in HTML code will need to be escaped if you want them to display on screen:
Char | Code | Name |
---|---|---|
& | 38 | amp |
< | 60 | lt |
> | 62 | gt |
" | 34 | quot |
The last two are arguable: most browsers won't interpreted a quotation mark as code unless it appears inside of a tag, and you can often get away with leaving the "greater than" symbol as literal because it won't be interpreted if it's not at the end of a tag.