You can select an element with all its content.
Select the parent of an element
You can select the parent of an element with all its content.
Select the content of an element
You can select just the content of an element without the element itself.
You can select any portion of a document.