Last active
December 21, 2015 21:50
-
-
Save primats/ac44d8dfeae39ab10b74 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table> | |
<script language="JavaScript"> | |
document.write("<tr><td bgcolor='#918E8A'>X</td>"); | |
for (i = 1; i <=10; i++) document.write("<td bgcolor='#918E8A'>"+i+" </td>"); | |
document.write("</tr>"); | |
for (i = 1; i <=10; i++) | |
{ | |
document.write("<tr><td bgcolor='#918E8A'>" + i + " </td>"); | |
for (j = 1; j <= 10; j++) | |
{ | |
document.write("<td style='text-align:center;'>" + (i*j) + " </td>");} | |
document.write("</tr>"); | |
} | |
</script> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment