J. Doe J. Doe - 29 days ago 14
HTML Question

How to print circled plus 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?

Answer

Demo:

document.body.textContent = '\u2295';
body { font-size: 50px }

Comments