{ "topic": "html-css", "input_types": [ "text" ], "input_labels": [ "HTML code" ], "input_values": [ "©" ], "type": "Convert", "title": "HTML code to CSS Content Code", "description": "This converter converts given HTML code to CSS Content Code.", "category": "HTML Conversion Tools", "preview": true, "function": "function myFunc(arr) {\n let htmlcodeString = arr[0];\n let csscodeString = parseInt(htmlcodeString.replace(/[^0-9a-fA-F]/g, ''), 10).toString(16);\n return '\\\\' +nZeroes(4-csscodeString.length)+ csscodeString;\n }", "op_label": "CSS Content code", "explanation": "This tool converts the given HTML code to CSS Content code." }