Escape HTML

This commit is contained in:
Paul W. 2024-10-02 23:01:12 -04:00
parent 5ad68667e2
commit 13f7f8580e
Signed by: lambdapaul
GPG Key ID: 0D207B4EBC14B1BD

View File

@ -38,24 +38,24 @@
} }
``` ```
<html> &lt;html&gt;
<head> &lt;head&gt;
<title>HTML Title</title> &lt;title&gt;HTML Title&lt;/title&gt;
</head> &lt;/head&gt;
<body> &lt;body&gt;
<div class="container"> &lt;div class="container"&gt;
<div class="article"> &lt;div class="article"&gt;
<h1>Hello, world!</h1> &lt;h1&gt;Hello, world!&lt;/h1&gt;
<h6>Goodbye, world!</h6> &lt;h6&gt;Goodbye, world!&lt;/h6&gt;
<div aria-data="idk!">Yo, what's up!</div> &lt;div aria-data="idk!"&gt;Yo, what's up!&lt;/div&gt;
<div> &lt;div&gt;
<a href="http://google.com">don't be eeeviiiilll</a> &lt;a href="http://google.com"&gt;don't be eeeviiiilll&lt;/a&gt;
<a class="button" href="">This link has a class called 'button'</a> &lt;a class="button" href=""&gt;This link has a class called 'button'&lt;/a&gt;
</div> &lt;/div&gt;
</div> &lt;/div&gt;
<img class="img" alt="green texture" src="background.png"> &lt;img class="img" alt="green texture" src="background.png"&gt;
<div class="hello" id="lol"></div> &lt;div class="hello" id="lol"&gt;&lt;/div&gt;
Random text Random text
</div> &lt;/div&gt;
</body> &lt;/body&gt;
</html> &lt;/html&gt;