Let's talk about the document
2020-04-21 本文已影响0人
许泽武
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().