Ancestor of all other elements on the page is called________

Options
- parent
- ancestor
- root element
- siblings


CORRECT ANSWER : root element

Discussion Board
answer

Answer : root element.

The ancestor of all other elements on the page, is called the “root element.”

shivam 07-19-2018 06:23 AM

root element

The parents() method returns all ancestor elements of the selected element.
An ancestor is a parent, grandparent, great-grandparent, and so on. It means ancestor of all other elements on the page is called root element.


Sapna 02-23-2017 11:40 PM

I agree with Allen Chang. It should be root element.

in HTML, "Ancestor of all other elements on the page" should be the root element, or document root, right? The answer on the test states, "Siblings". Sibling elements are ones that are at the same level to the context node.


omkar jere 06-23-2016 07:29 AM

Ancestor of all other elements...

I agree with Allen Chang and Janne Tind. It should be root element.

Vishal 11-20-2015 12:07 AM

Explanation.

Answer : root element.

The ancestor of all other elements on the page, is called the “root element.”

Jayesh Sonar 02-27-2015 06:54 AM

Ancestor of all other elements...

I agree with Allen Chang. It should be root element.

Janne Tind 03-19-2014 10:24 AM

Possibly wrong answer?

in HTML, "Ancestor of all other elements on the page" should be the root element, or document root, right? The answer on the test states, "Siblings". Sibling elements are ones that are at the same level to the context node.

Allen Chang 12-1-2013 09:56 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement