打印倒金字塔
<!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">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<style>
hr{
width:5px;
color:gray;
}
</style>
<script type="text/javascript" language="javascript">
for(var i=1;i<=5;i++){
for(var j=2*i-1;j<=9;j++){
document.write("<u> </u>");
}
document.write("<br/>");
}
for(var i=1;i<=5;i++){
for(var j=1;j<=2*i-1;j++){
document.write("<u> </u>");
}
document.write("<br/>");
}
</script>
</head>
<body align="center">
</body>
</html>