Html – Escape tags in html

escapinghtmltags

What are escape tags in html?

Are they &#34; &#60; &#62; to represent " < >?

And how do these work?

Is that hex, or what is it?

How is it made, and why aren't they just the characters themselves?

Best Solution

Here are some common entities. You do not need to use the full code - there are common aliases for frequently used entities. For example, you can use < and > to indicate less than and greater than symbols. & is ampersand, etc.

EDIT: That should be - &lt; &gt; and &amp;

EDIT: Another common character is &nbsp which is often used to represent tabs in <code> segments

Related Question