Start Projects Blog Chat

Escaping special characters in HTML

Category: software

2017-8-19 18:39:33 (modified 2017-8-30 15:46:31)

Philipp

A short help on how to escape HTML-special-characters.

Since HTML uses special characters as command-characters some of them should be written as their respective HTML-Codes when they are not meant to affect the markup:

CharacterHTML-Code
& &
© ©
< &lt;
> &gt;
' &apos;
" &quot;

Some further reading: W3's FAQ about this topic

Project Picture