Encode HTML

Encode HTML

Encode HTML

Encode HTML is an online tool that converts HTML code into a special character-code that browsers can interpret as the correct symbol. In the markup languages SGML, HTML, XHTML and XML, a character entity reference is a reference to a particular kind of named entity that has been predefined or explicitly declared in a Document Type Definition (DTD).

Bookmark:

Encode HTML

Encode HTML is an online tool that converts HTML code into a special character-code that browsers can interpret as the correct symbol. HTML has special handling for characters like < and > symbols, so it doesn't work well with those characters where they shouldn't be.

Having spurious characters like those symbols in your text can have some weird effects - blocks of text not appearing, broken formatting, and generally just not seeing what you expect to see.

This can all be fixed by 'escaping' those characters. This process involves scanning the text for those characters, and replacing them with a special character-code that browsers can interpret as the correct symbol, without actually embedding that symbol in your text.

For example, the escaped character code for > is &gt;.

Some of the translations performed are:

  • '&' (ampersand) becomes '&amp;'
  • '"' (double quote) becomes '&quot;'
  • ''' (single quote) becomes '&#039;'
  • '<' (less than) becomes '&lt;'
  • '>' (greater than) becomes '&gt;'

 HTML Encoder 

Type or paste in the HTML text you want to HTML encode, then press the Encode HTML button.

Online HTML Encoder Information:

  • Purpose of this Tool : HTML Encoding
  • Intended Audience : Webmasters, Web Developers, Website Designers, Programmers

External Resources: