.before(): Insert content, specified by the parameter, before each element in the set of matched elements. So, append and prepend refers to child of the object whereas after and before refers to sibling of the the object. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.