HTML Escape Character Table, html Escape charactersWhy use an escape string?
, & And so on in HTML have special meanings (, used for the link sign, & used for escaping), and cannot be used directly. These symbols areNot displayed on the page we
Why to use an escape string.
,& in HTML has a special meaning ( for the link-sign,& for escape) and cannot be used directly. These symbols are not displayed in the pages we eventually see, so what if we want to display them in the Web page?
This
Why should I use an escape string?,& in HTML has special meanings (, used for link-sign,& for escaping) and cannot be used directly. These symbols are not displayed in the pages we end up seeing, so what if we want to display the symbols in the Web
The following is an example of js Dynamic html trigger event passing parameter escape. I think this is quite good. Now I will share it with you and give you a reference. Let's take a look at the following small series to bring you an example of js
Excerpt from: http://blog.csdn.net/changhong009/article/details/46004343' ----Single quotation mark$ #39; ----single quotes (ie compatible)" -----double QuotesA button in a webpage that writes the handling code of the onclick event is
More comprehensive HTML entity escape character article: http://www.cnblogs.com/kiter/archive/2011/08/05/2128309.html
the composition of the escape string
The Escape string (Escape Sequence), that is, the character entity (Character Entity) is
The composition of the escaped stringThe Escape string (Escape Sequence), the character entity (Character entity), is divided into three parts: the first part is a & symbol, English is called Ampersand; the second part is the entity name or the #
The character entity (CharacterEntities), an EscapeSequence (EscapeSequence), that is, the character entity (CharacterEntity) is divided into three parts: the first part is a & amp; ampersand. The second part is the Entity name or #
Composition of
This article describes in detail the special meanings of the HTML Escape Character EscapeSequence HTML , and so on (, used for the link tag, & used for escape), and cannot be used directly. These symbols are not displayed on the webpage we finally
For more information about the submitted content escaping, please refer to the following link: Generally, when writing a PHP program, do you need to execute escaping before the textarea data is submitted to the database? because if there is php code
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.