Which instruction do we use to access the parent of a nested element?

document.getElementById(), with the parent's IDdocument.createElement(), with the parent's IDdocument.getElementById(), with the child's ID

document.getElementById(), with the parent's ID.