WEB BROWSERS TECHNOLOGY
WHAT IS WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which is the selector in this CSS?p {color:red;}
|
p
|
|
color
|
|
red
|
|
None of the above
|
Explanation:
Detailed explanation-1: -This type of selector selects the element based on the element name. For e.g: p color: red; font-size: 16px; : Selects the text with in <p> and </p> tags of a HTML page.
Detailed explanation-2: -“In CSS, we use the “selection” selector to change the color of the text or the background color of the selected text.
There is 1 question to complete.