如何用js创建元素?var div =document.getElementById('listcont');var child =div.createElement("div");child.class="c2023-02-18JavaScript310