COMPUTER FUNDAMENTALS

COMPUTER NETWORKS AND COMMUNICATIONS

INTERNET AND WEB TECHNOLOGIES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Descendant theory provides a means of applying styles to multiple elements at once.
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -A descendant refers to any element that is connected but lower down the document tree-no matter how many levels lower. In the diagram below, all elements that are connected below the <div> element are descendants of that <div>.

Detailed explanation-2: -When you group CSS selectors, you apply the same styles to several different elements without repeating the styles in your stylesheet. Instead of having two, three, or more CSS rules that do the same thing (set the color of something to red, for example), you use a single CSS rule that accomplishes the same thing.

Detailed explanation-3: -The descendant selector matches all elements that are descendants of a specified element.

There is 1 question to complete.