createelement () Create node: Returns an Element object;
CloneNode () Clone node, accept a parameter deep with a value of true or false;
Child node Operation: appendchild () adds the last child node to the node InsertBefore () Inserts a new child node before the specified existing child node. If no existing child nodes are specified, NewNode is inserted at the end. RemoveChild () Removes the specified child nodes;
Property action: GetAttribute () returns the property value of the specified property name, returning the property to the Attr object;
SetAttribute () Adds the specified property, assigns it the specified value, and sets/changes the value only if the specified property already exists;
RemoveAttribute () Needless to say, delete the specified property; The difference between this method and the Removeattributenode () method is that the Removeattributenode () method deletes the specified Attr object, and this method Deletes an attribute with the specified name. The result is the same. While this method does not return a value, the Removeattributenode () method returns the Deleted property in the form of an Attr object.
JS Program Development-2