Relative location terms, cont’d
ancestor(args)
- Locates direct and indirect ancestors
- Vertical in element tree
- First ancestor (that is, the parent) above the location source that is a div:
ancestor(1,div)
- All ancestors above the location source that are divs: