
document.querySelector(selector)
(id로 선택하는 것이 가장 일반적이다.)
document.querySelectorAll(selector)
document.createElement()Element.append()
Node.appendChild()Node.innerText
Element.innerHTML
ChildNode.remove()Node.removeChild()
태그의 순서를 바꿀 때 용이
Element.setAttribute(name, value)
Element.getAttribute(attributeName)