I want to print the circled plus in JavaScript to an HTML page.
Here is how the circled plus looks like.
I saw this solution but I can not figure out how to apply it for this symbol: HtmlSpecialChars equivalent in Javascript?
I want to print the circled plus in JavaScript to an HTML page.
Here is how the circled plus looks like.
I saw this solution but I can not figure out how to apply it for this symbol: HtmlSpecialChars equivalent in Javascript?
You are looking for ⊕
:
document.getElementById('js').innerHTML = '⊕'
<div>⊕</div> <!-- ⊕ -->
<div id='js'></div> <!-- ⊕ -->