src/main/java/org/jsoup/nodes/Element.java
/**
     * Add a node to the last child of this element.
     * 
     * @param child node to add. Must not already have a parent.
     * @return this element, so that you can add more child nodes or elements.
     */
Add a node to the last child of this element.

@param child node to add. Must not already have a parent.
@return this element, so that you can add more child nodes or elements.
Add a node to the last child of this element . @param child node to add . Must not already have a parent . @return this element so that you can add more child nodes or elements .
public Element appendChild(Node child) {
        Validate.notNull(child);
        child.setParentNode(this);
        childNodes.add(child);
        return this;
    }
public Element appendChild ( Node child ) { Validate . notNull ( child ) ; child . setParentNode ( this ) ; childNodes . add ( child ) ; return this ; }
Add a node to the last child of this element.
Add a node to the last child of this element .