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) |
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!