为什么php在html后面啊
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
</head>
<body>
<ul id="test"><li>JavaScript</li><id ="a"li>HTML</li></ul>
<script type="text/javascript">
var otest = document.getElementById("test");
var j = document.getElementById("a");
var k=document.createElement("li");
k.innerHTML="php";
otest.insertBefore(k,j);
</script>
</body>
</html>