求教大神 appendChild哪里错了啊
<html> <head> <script> window.onload=function(){ var b=document.getElementsByTagName("body"); var d = document.createElement("div"); b.appendChild(d) } </script> </head> <body > </body><html>