Javascript Neato

I love stuff like this.

<html>
<head><title>Blah blah</title></head>
<body>
<script type=text/javascript>
k=1;
document.write(“<center><table border=0 width=50%><tr><td>Everybody loves special characters nowadays. I love them too. If you ever wondered how to type &#167, using this list you can easily find out. All you do is type &#<i>num</i> from the chart below to get the special character. For example, to type &#167, you would look it up in the list and see that the number associated with &#167 is the number 167, so you would type &#38#167, and it would show up as &#167. Tada. Enjoy.</tr></td></table><br><br><table border=’1′><tr><td colspan=’16’><center><h1>HTML Character Entities</h1></center></td></tr>”)
for (i = 1; i <= 16; i++) {
document.write(“<tr>”);
for (j = 1; j <= 16; j++) {
document.write(“<td>”+k+”<br>&#”+k+”</td>”);
k++
}
document.write(“</tr>”)
}
document.write(“</table></center>”)
</script>
</body>
</html>

It came out to look really neat. Here’s a link to what it came out to. Nums.html And THIS is what makes it soooo beautiful to me.

Have a nice day everyone.

~Bruce

Log in to write a note
March 21, 2008

Nice:) I already know what it does without putting it into a html file memories of school…

March 21, 2008

RYN: LMAO! I believe it!

Lovely…just lovely. lol

March 21, 2008

Uh… I don’t have to understand all that, right?

March 23, 2008

haha, wellll then. You see, I’ve been to China.. And this certainly feels a lot like reading Chinese! You brain 🙂

7/29/10 Didnt get it then and still dont get it now. =P