First, prefaceI believe you are familiar with the character to achieve multiple consecutive spaces input bar! This article intends to three kinds of HTML entities and JS related operations for further collation and summary, if there are flaws
[Transfer] http://www.xml.com/pub/a/98/08/xmlqna1.html#INTENT
Types of Entities
By Norman WalshAugust 28,199 8
Internal Entities
Do you ever get tired of typing the name of your company, "YoyodyneIndustries, Inc ."? Have you ever had the pleasure
PHP Html_entity_decode () applies to PHP 4.3.0+ and converts HTML entities into characters.
Html_entity_decode (string containing HTML entities, optional how to decode quotes, optional character encoding set)
If the string contains a character set
Why do I need to convertSimpler, because sometimes we need to display the HTML tag in the browser page, but the direct output , when browsing the page will be implemented as HTML tag language, the workaround is to HTML tags are converted into HTML
HTML may not be used for certain characters, you must use the entity name or entity name or entity number
Useful character entities in HTMLNote: The entity name is case sensitive!
Show Results
Description
Entity name
Sometimes we may have to use js to process HTML entities. For example& Gt;This content is converted>Symbol, or the opposite operation. If you encounter such a requirement unfortunately, the following content may be helpful.
The implementation of
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
HTML 4.01 supports the ISO 8859-1 (Latin-1) character set.The lower part of the Iso-8859-1 (code from 1 to 127) is the original 7-bit ASCII.The higher parts of Iso-8859-1 (code from 160 to 255) all have entity names.Most of these symbols can be used
This character entity reference manual includes mathematical symbols, Greek characters, various arrow markers, technical symbols, and shapes.Note: The entity name is case sensitive.Mathematical symbols supported by HTML
Results
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.