&;'><" This method of escaping HTML is also used by the Prototype JS library though differently from the simplistic sample I have given. Note: You will still need to escape quotes (double and single) yourself. You can use any of the methods outlined by others here. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.