<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
span{
display: inline-block;
padding: 5px 10px;
margin: 3px;
background-color: hotpink;
border: 1px solid black;
}
</style>
</head>
<body>
<script type="text/javascript">
for(let i=1;i<=9;i++){
for(let t=1;t<=i;t++){
document.write(`<span>${t}x${i}=${t*i}</span>`)
}
document.write('<br>')
}
</script>
</body>
</html>
标签:3px,九九乘法,span,JS,write,background
From: https://www.cnblogs.com/duan-rui/p/17233872.html