createElement ('a') , then it would be an element of type HTMLAnchorElement . The Node interface. The document.getElementById function returns an HTMLElement .
確定! 回上一頁