Let's talk about the document

As we all know and usually use, the document has the method getElementById(). But before we can get the element, we should create the element, that is the createElement(). Similarly, the document owns the method createAttribute().

你可能感兴趣的:(Let's talk about the document)