EN
HTML - entities
0 points
In this article, we would like to show you how to create and use HTML Entities.
Quick solution:
xxxxxxxxxx
1
&entity_name;
or:
xxxxxxxxxx
1
&#entity_number;
Commonly used HTML Entities
Character | Description | Entity name | Entity number |
---|---|---|---|
| non-breaking space | |   |
< | less than | < | < |
> | greater than | > | > |
& | ampersand | & | & |
" | quotation mark | " | " |
' | apostrophe | ' | ' |
In this example, we present commonly used HTML Entities.
xxxxxxxxxx
1
2
<html>
3
<body>
4
<div>non-breaking space: " " or " "</div>
5
<div>greater than: > or ></div>
6
<div>less than: < or <</div>
7
<div>ampersand: & or &</div>
8
<div>quotation mark: " or "</div>
9
<div>apostrophe: ' or '</div>
10
</body>
11
</html>
Output:
xxxxxxxxxx
1
non-breaking space: " " or " "
2
greater than: > or >
3
less than: < or <
4
ampersand: & or &
5
quotation mark: " or "
6
apostrophe: ' or '