Home >Web Front-end >HTML Tutorial >The display is blank, I typed it according to the code in the book_html/css_WEB-ITnose

The display is blank, I typed it according to the code in the book_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:10:05885browse

<html>	<head>		<title> 标题栏 </title>		<script language ="JavaScript">			var i;			var j;		document.write("<table border = \"1\">");				for(i = 1;i<=9;i++) {				document.write("<tr>");				for(j = 1;j<=9;j++) {					if(i>=j) {						document.wirte("<td>" + i + " * " + j + " = " + i*j + "</td>");					} else  {						document.write("<td> </td>");					}				}				document.write("</tr>");			}			document.write("</table>");		</script>	</head>	<body>	</body></html>


I want to display a table, a multiplication table. But the display is blank,
is the same in IE6 and Firefox.
I am a super novice. Thank you


Reply to the discussion (solution)

if(i>=j) {
   document. wirte( "b6c5a531a458a2e790c1fd6421739d1c" i " * " j " = " i*j "b90dd5946f0946207856a8a37f441edf");
is write

if(i>=j) {
document. wirte("b6c5a531a458a2e790c1fd6421739d1c" i " * " j " = " i*j "b90dd5946f0946207856a8a37f441edf");
Yes write
Thank you so much. It seems that his eyes are indeed failing. A small mistake took me a long time to discover

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn