Home  >  Article  >  Web Front-end  >  What is the html escape character table?

What is the html escape character table?

PHPz
PHPzOriginal
2023-04-24 14:48:56643browse

HTML escape characters are a set of special characters defined by HTML that are used to display or encode special characters on web pages.

HTML escape characters are an encoding used to convert standard ASCII characters into characters allowed by HTML formatting. HTML escape characters can be used to display special characters in text in a safe way on web pages. These characters include the greater than sign, the less than sign, quotation marks, single quotes, and backslashes, etc.

The following is an HTML escape character table:

##&和#&< Less than sign<##>"##'Single quotation marks'®Registered Trademark®Copyright SymbolTrademark symbol##ºDegree symbol°±Positive and negative sign symbol±µMicro symbolµ÷Division sign ÷×Multiply signוPunctuation•§¶##¥Yen symbol¥$dollar sign$£ pound sign£€Euro symbol€¢Central symbol¢¤Currency symbol¤°Angle symbol°•Solid dot•When writing HTML code, if you want to use special characters, you can use the codes provided in the HTML escape character table instead. For example, if you want to display the "&" symbol on a web page, you can use "&" instead. Using escape characters ensures that HTML will not interpret these special characters as HTML code when displayed. In short, the HTML escape character table is a very useful tool that can make web designers easier and safer when writing HTML code. If you want to display special characters on a web page, using this form can save you a lot of time and trouble. However, it should be noted that each character needs to use the correct encoding format, otherwise it may cause problems with the display of the web page.
Character Name Code
Greater than sign >
Quotation marks "
##©
©
##§ Paragraph mark
Paragraph symbol
##… Omitted symbols
dash
Dash
« Left double horn «
» Right double horn »

The above is the detailed content of What is the html escape character table?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn