js乘法口诀表

下面展示一些 内联代码片

js乘法口诀表
// An highlighted block
<html>
<head>
<title>js九九乘法表</title>
<style type="text/css">
table {
	width: 800px;
	height: 300px;
	border-collapse: collapse;
	font-size:40;
}
table th {
	border: 1px solid #069;
}
body {
	text-align: left;
}
h1 {
	font-family: "微软雅黑", Verdana, sans-serif, "宋体";
	color: #ff0000;
	font-weight: bold;
		font-size:100;
	margin-bottom: 30px;
}
</style>
</head>
<body>
<script type="text/javascript">
	document.write("");var str ="js九九乘法表";
	document.write("

" + str + "

"
);for(var x =1; x <=9; x++){ document.write("");for(var y =1; y <= x; y++){ document.write("");} document.write("");} document.write("
" + y + "*" + x + "=" + (x * y) + "
"
); </script> </body> </html>

你可能感兴趣的:(js,html)