Basic question which I thought of asking on Superuser, but it is a programming question I think. I just started learning HTML, so please bear with me.
How can I prevent a program from interpreting an HTML tag / syntax? For example, I want to write a flash card like this:
The html code for
<
is<
I would like a solution that would work for any or most syntax, not just for <
.
How can I enter the syntax (without any space) to make sure the code isn't interpreted?
This:
The html code for < is &lt;
Renders as:
The html code for < is <
The basic strategy is to escape the &
as &
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With