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
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
HTML 4.01 supports the ISO 8859-1 (Latin-1) character set.HTML 4.01 supports the ISO 8859-1 (Latin-1) character attribute.
The lower part of ISO-8859-1 (codes from 0-127) is the original 7-bit ascii standard. Most of these characters can be used
Original addressIn 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
In HTML, some characters are reservedThe less than sign () cannot be used in HTML because the browser mistakenly considers them to be labelsIf you want to display reserved characters correctly, we must use the character entity (character entities)
Http://www.w3school.com.cn/tags/html_ref_entities.htmlASCII Entity with entity name
Results
Description
Entity name
Entity number
"
Quotation mark
"
& #34;
‘
DOCTYPE HTML>HTML> Head> MetaCharSet= "Utf-8" /> title>Common tagstitle> Head> Body> in HTML, some of the special characters such as are not directly used to represent these special characters using special
In HTML, the label is in the form of , if we want to use less than () is not possible, it will be mistaken for the label. Like , & and other symbols are reserved characters, is not displayed correctly, if you want to display the reserved characters
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
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.