Write a script that outputs XHTML text that displays in the XHTML document a checkerboard pattern, as follows:


<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Checkerboard</title>
<script type="text/javascript">
<!--
var i = 1;
var j = 1;
for ( i = 1; i<=8; i ++)
{
for ( j = 1; j<=8; j++)
{
document.write("* ");
}
document.write("<br />");
if(i%2)
{
document.write("&nbsp;");
}
}
// -->
</script>
</head>
<body>
<h1> Checkerboard Program </h1>
<hr />
<p> Click Refresh(F5) or reload to run this script again </p>
</body>
</html>