HTML Entity character entity (character escape), Entity escapeDirectory
1. HTML Entity
2. Conversion of characters and Entity Names
3. Mutual conversion between characters and Entity Number
1. Introduction to HTML Entity1.1
When writing HTML pages,
Microsoft's entity Framework is being watched and used by more and more people, and the entity Framework7.0 version is about to be released. Although it is open source, unfortunately, there is no book about it, let alone a good book, probably
HTML character entity, html character entity
Reserved characters in HTML must be replaced with character entities.
HTML Entity
Some characters are reserved in HTML.
You cannot use signs () in HTML. This is because the browser mistakenly believes
Symbols such as "In order to display the less-than sign (Character entitySome characters have special meanings in HTML, such as the less than sign (The character entity has three parts: a number (&), an entity name, or # and an entity number, and a
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
Http://www.w3school.com.cn/tags/html_ref_entities.htmlASCII Entity with entity name
Results
Description
Entity name
Entity number
"
Quotation mark
"
& #34;
‘
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
HTML EntitiesIn HTML, some characters are reserved.The less than sign () cannot be used in HTML because the browser mistakenly considers them to be labels.If you want to display reserved characters correctly, we must use the character entity
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
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.