112k views
3 votes
A _____ element is an element that contains one or more other elements, which are called child elements.

a. family
b. sibling
c. parent
d. descendant

User Pudpuduk
by
3.5k points

1 Answer

6 votes

Answer:

parent

Step-by-step explanation:

A parent element is usually the outer element that contains one or more other elements, which are called child elements.

Consider the following HTML code:

<div id="parent">

<p id="childNumberOne"></p>

<p id="childNumberTwo"></p>

<p id="childNumberThree"></p>

</div>

The Three P are children of the parent div, and siblings of each other.

User Iouri
by
3.5k points