Question : Something wrong with syntax

This program is not doing anything and I can't figure out why.  I want to display a table within an alert box.  That is possible, right?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<!-- Program by Maria Kelly
     -->
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <title>Numbers Table with Squares and Cubes</title>
   </head>
   <body>
     <script type = "text/javascript" >
      		<!--
			  document.write("<tr>",
					"<th />",
					"<th> Number </th>",
					"<th> Squared </th>",
					"<th> Cubed </th>",
					"</tr>",
					"<tr>",,
					   "<th> 5 </th>",
					   "<td> 25 </td>",
					   "<td> 125 </td>",
					"</tr>",
					"<tr>",
					   "<th> 6 </th>",
					   "<td> 36 </td>",
					   "<td> 216 </td>",
					"</tr>",
					"<tr>",
					   "<th> 7 </th>",
					   "<td> 49 </td>",
					   "<td> 343 </td>",
					"</tr>",
					"<tr>",
					   "<th> 8 </th>",
					   "<td> 64 </td>",
					   "<td> 512 </td>",
					"</tr>",
					"<tr>",
					   "<th> 9 </th>",
					   "<td> 81 </td>",
					   "<td> 729 </td>",
					"</tr>",
					"<tr>",
					  "<th> 10 </th>",
					  "<td> 100 </td>",
					  "<td> 1000 </td>",
					"</tr>",
					"<tr>",
					   "<th> 11 </th>",
					   "<td> 121 </td>",
					   "<td> 1331 </td>",
					"</tr>",
					"<tr>",
					   "<th> 12 </th>",
					   "<td> 144 </td>",
					   "<td> 1728 </td>",
					"</tr>",
					"<tr>",
					   "<th> 13 </th>",
					   "<td> 169 </td>",
					   "<td> 2197 </td>",
					"</tr>",
					"<tr>",
					   "<th> 14 </th>",
					   "<td> 196 </td>",
					   "<td> 2744 </td>",
					"</tr>",
					"<tr>",
					   "<th> 15 </th>",
					   "<td> 225 </td>",
					   "<td> 3375 </td>",
					"</tr>",
					"</table>");
					// -->
					</script>
   </body>
 </html>

Answer : Something wrong with syntax

Here is your fixed code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<!-- Program by Maria Kelly -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Numbers Table with Squares and Cubes</title>
</head>
<body>
<script type = "text/javascript" >
<!--
	document.write("<table>"+
		"<tr>"+
		"<th> Number </th>"+
		"<th> Squared </th>"+
		"<th> Cubed </th>"+
		"</tr>"+
		"<tr>"+
		"<th> 5 </th>"+
		"<td> 25 </td>"+
		"<td> 125 </td>"+
		"</tr>"+
		"<tr>"+
		"<th> 6 </th>"+
		"<td> 36 </td>"+
		"<td> 216 </td>"+
		"</tr>"+
		"<tr>"+
		"<th> 7 </th>"+
		"<td> 49 </td>"+
		"<td> 343 </td>"+
		"</tr>"+
		"<tr>"+
		"<th> 8 </th>"+
		"<td> 64 </td>"+
		"<td> 512 </td>"+
		"</tr>"+
		"<tr>"+
		"<th> 9 </th>"+
		"<td> 81 </td>"+
		"<td> 729 </td>"+
		"</tr>"+
		"<tr>"+
		"<th> 10 </th>"+
		"<td> 100 </td>"+
		"<td> 1000 </td>"+
		"</tr>"+
		"<tr>"+
		"<th> 11 </th>"+
		"<td> 121 </td>"+
		"<td> 1331 </td>"+
		"</tr>"+
		"<tr>"+
		"<th> 12 </th>"+
		"<td> 144 </td>"+
		"<td> 1728 </td>"+
		"</tr>"+
		"<tr>"+
		"<th> 13 </th>"+
		"<td> 169 </td>"+
		"<td> 2197 </td>"+
		"</tr>"+
		"<tr>"+
		"<th> 14 </th>"+
		"<td> 196 </td>"+
		"<td> 2744 </td>"+
		"</tr>"+
		"<tr>"+
		"<th> 15 </th>"+
		"<td> 225 </td>"+
		"<td> 3375 </td>"+
		"</tr>"+
		"</table>");
// -->
</script>
</body>
</html>
Random Solutions  
 
programming4us programming4us