• 2022-07-23
    ,正确的语句为:()
    A: var div1 = document.createElement("div");document.body.appendChild(div1);
    B: var div1 = document.createElement("div");document.body.deleteChild(div1);
    C: var div1 = document.createElement("div");document.body.removeChild(div1);
    D: var div1 = document.createElement("div");document.body.replaceChild(div1);