HTML character entityCommonly used character entities:
Entity characters
Character entity
Greater than sign (>)
>
Less than sign (
Quotation marks (")
"
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,
Every day a variety of media objects are transmitted via HTTP, such as text, movies, and software programs. HTTP ensures that its messages are correctly transmitted, identified, extracted, and properly processed. To achieve these goals, HTTP uses a
Previous wordsEvery day a variety of media objects are transmitted via http, such as text, movies, and software Programs. HTTP ensures that its messages are correctly transmitted, identified, extracted, and properly processed. To achieve these goals,
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
Well, because it is pure small white, this problem may be a bit of food, the Great God forgive me ...
is to write PHP, need to echo special characters, such as "This symbol, when writing to PHP with escape \" Good or HTML code
"Well, what?
Ask you,
HTML character entity
Character entity of HTML:
Some Characters in HTML are reserved characters, which can constitute the syntax structure of HTML. For example, greater than (>) and smaller than (
Reserved characters cannot be used directly in
1. Content-length: The size of the entityThe Content-length header indicates the byte size of the entity body in the message. This size contains all content encodings, such as gzip compression of the text file, Content-length header is the size of
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
How to (in a program) add and use Unicode for foreign language support
Level: elementaryThomas W. Burger (twburger@bigfoot.com) Thomas Wolfgang burger Consulting's bossAugust 01, 2001
As a computer's multi-character
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.