Convert characters to HTML for insertion into a page

Converts a character to HTML for insertion into a page.

Sometimes it is required to display specific characters on the site page, for example, the beginning / end of the tag "<" and ">"), but they cannot be inserted directly, because they are considered special characters for the browser. In order for them to appear on the page, they must be inserted as a mnemonic symbol, or in another HTML code. It is also sometimes necessary to render characters through pseudo-elements such as ::before or ::after, which are filled in CSS through the content property. But you can't keep all the character codes in your head, so for such purposes you can use the character converter to HTML code and CSS code.

Enter any character:

Result (HTML code to be inserted into the page):

Result (CSS-code):