How to print all UTF-8 mathematical operators (symbols) to HTML page using JavaScript

1 Answer

0 votes
<!DOCTYPE html>
<html>
<style>
body {
    font-size: 20px;
}
</style>
<body>

<script>
for (var i = 8704; i <= 8959; i++)
	document.write("<p>&#" + i + "</p>");

</script>

</body>
</html>

 

Run:



answered Dec 31, 2018 by avibootz
...