请教大神,我这样为什么出不来显示内容,急
<!DOCTYPE HTML>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>数组</title>
<script type="text/javascript">
//创建数组
var myarr=["*","##","***","&&","****","##*","**"];
//显示数组长度
function shan(){
alert(myarr.length);
}
//将数组内容输出,完成达到的效果。
document.write(myarr[0])+"</br>"
document.write(myarr[7])+</br>
document.write(myarr[2])+</br>
document.write(myarr[4])+</br>
</script>
</head>
<body>
<form>
<input type="button" onclick=shan() value="数组长度"/>
</form>
</body>
</html>