HTML tag to prevent HTML tags to be executed?
html, xhtml
Solution
You are going to have to do it manually.
Here you have the full encoding table. The most commonly used codes are:
Character Entity Number Entity Name Description
" " " quotation mark
' ' ' apostrophe (does not work in IE)
& & & ampersand
< < < less-than
> > > greater-than
Problem
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?