J. Doe J. Doe - 11 months ago 77
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 Source


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