Several commonly used special symbols in HTML

巴扎黑
Release: 2017-04-01 14:43:48
Original
3591 people have browsed it
##Symbol replacement instructions Among them, inseparable spaces mean that two words are sometimes divided into two lines due to layout. At this time, if the space between the two words is replaced is , then they will always be on one line:

is writing Web using HTML (HyperText Markup Language, Hypertext Markup Language) language When editing a page, due to the different levels of HTML support used by the web browsers used, some questions often arise about the use of HTML language. Here, I would like to share some experiences with you for your reference.

            Several commonly used special symbols in HTML:

<(Less than symbol) <
>(Greater than sign) >
&(Ampersand) &
″(double quote)  "
Inseparable space 
'(single quote)


In HTML, the statement

A+B3>1
(displayed as A+B3>1)Example 2: The
′&′ symbol is generally not used. As long as there is no ambiguity, there is no need to replace it with '&'. For example:
′if (ac)' can be expressed by the statement
if (a<b&&b>c), Instead of using if (a<b&&b>c), ′<′ must be expressed by the statement &lt, and cannot be expressed by < (displayed as <). Example 3:
substitution. The English letters in the directive must be in the same case in the HTML statement, that is, they must be all uppercase or all lowercase, and cannot be mixed in uppercase and lowercase. For example: the
'<' symbol can be '<' or '<'. represents, but cannot use '&Lt' or '&lT' to represent



-->

The above is the detailed content of Several commonly used special symbols in HTML. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!