What is "Special characters must be escaped"


#1

(I cannot find my course in the pop menu when I posted this, I am in “Learn HTML”) by my code the “<” mark is highlighted in red and when I hover my mouse over it it says “Special characters must be escaped” what does that mean?


#2

well, < and > are used for elements on a webpage (like <div> and <p>)

so if a html document sees a <, it thinks its the opening symbol of a tag/element, so if you actually want to display a < on a webpage, you will need to escape it, like so:

&gt;

result:
>