Added ampersand escape tutorial (#20775)
This commit is contained in:
committed by
Christopher McCormack
parent
00225cd186
commit
f71fd98d07
@ -12,6 +12,17 @@ If no entity name exists, either the entity number or hexadecimal reference can
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
### Ampersand escape
|
||||||
|
If you want to show the entity name on a webpage like this:
|
||||||
|
```html
|
||||||
|
<p><html></p>
|
||||||
|
```
|
||||||
|
Then you need to use an ampersand escape, like below:
|
||||||
|
```html
|
||||||
|
<p>&lt;html&gt;</p>
|
||||||
|
```
|
||||||
|
This will display the entity name rather than the entity.
|
||||||
|
|
||||||
#### More Information:
|
#### More Information:
|
||||||
|
|
||||||
* [W3 Schools Reference](https://www.w3schools.com/html/html_symbols.asp)
|
* [W3 Schools Reference](https://www.w3schools.com/html/html_symbols.asp)
|
||||||
|
Reference in New Issue
Block a user