<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title>打印笑脸</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="text-align:center;">
<script language="javascript" type="text/javascript">
var icon = "\u263a";
for (var row = 6; row > 0; row--) {
for (var col = 0; col < row; col++) {
document.write(icon + " ");
}
document.write("<br/>");
}
</script>
</td>
</tr>
</table>
</body>
</html>
js打印倒三角形笑脸
猜你喜欢
转载自blog.csdn.net/danqiu2017/article/details/79228022
今日推荐
周排行