Character to HTML Code Converter
Converts characters into HTML code for insertion on a page or in CSS via the "content" attribute.Example: "©" → © → content: "\a9";
Result (HTML code to be inserted into the page):
Result (CSS-code):
Sometimes it is necessary to display specific symbols on a website page, such as the beginning/end of a tag ("<" and ">"), but they cannot be inserted directly because the browser considers them special characters. To display them on the page, they need to be inserted as a mnemonic symbol, or otherwise as HTML code. Sometimes it is also necessary to display symbols through pseudo-elements, such as ::before or ::after, which are filled in CSS through the content property. But you can't keep all the symbol codes in your head, so for such purposes, you can use a character converter to HTML code and CSS code.