<html> <head> <script>
function myfunc1() { for (var it_1 = 0; it_1 < 2500;it_1+=50) { for (var it_2 = 0; it_2 < 2500;it_2+=50) { var div = document.createElement('div'); div.style.position = "absolute"; div.style.backgroundColor ="#"+((1<<24)*Math.random()|0).toString(16); div.style.left = it_1; div.style.top = it_2; div.style.height = 50; div.style.width = 50;
document.body.appendChild(div); }
} } </script> </head> <body onload="myfunc1()">
</body> </html>