I want to use CSS instead of JavaScript to insert a HTML tag. But the tag gets interpreted as normal text rather than html code.
#br:after {
content: "\003c br\003e"
}
<span>My </span>
<span> Name </span>
<span id="br"> is </span>
<span> XYZ</span>
What is getting displayed is: