Take specified main tag and children tags plus contents between children except HTML
First matches the children specified opened or self-closed tags and their contents.
If not found, matches opening tag.
If not found, matches closing tag.
Submitted by anonymous - 5 years ago