createElement() to create a new HTML element and attach it to the DOM tree. ... If you want to add an id to a div , you set the id attribute of the element ...
確定! 回上一頁