createElement () 方法可以依指定的標籤名稱(tagName)建立HTML 元素,或是在未定義 ... appendChild(newContent); //add the text node to the newly created div.
確定! 回上一頁