Correct Answer : Both of the above
Correct Answer : previousSibling
Correct Answer : compareDocumentPosition()