From f71fd98d07c423165d5cf18d8b112a575cd0adf4 Mon Sep 17 00:00:00 2001 From: CGS-Jack-Bashford <37096442+CGS-Jack-Bashford@users.noreply.github.com> Date: Sun, 4 Nov 2018 04:38:24 +1100 Subject: [PATCH] Added ampersand escape tutorial (#20775) --- guide/english/html/symbols/index.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/guide/english/html/symbols/index.md b/guide/english/html/symbols/index.md index 85c95728b0..15f10b7a64 100644 --- a/guide/english/html/symbols/index.md +++ b/guide/english/html/symbols/index.md @@ -12,6 +12,17 @@ If no entity name exists, either the entity number or hexadecimal reference can ![Common HTML5 Symbols](http://ways2web.weebly.com/uploads/5/4/4/8/54485903/8779038_orig.png) +### Ampersand escape +If you want to show the entity name on a webpage like this: +```html +

<html>

+``` +Then you need to use an ampersand escape, like below: +```html +

&lt;html&gt;

+``` +This will display the entity name rather than the entity. + #### More Information: * [W3 Schools Reference](https://www.w3schools.com/html/html_symbols.asp)