Connect with a community that values knowledge and expertise on IDNLearn.com. Find in-depth and accurate answers to all your questions from our knowledgeable and dedicated community members.

Identify the selector in the following CSS code:

h3 {
color: orange;
font-size: 12 px;
}

A.
h3
B.
color
C.
font-size
D.
px


Sagot :

Answer:

The right answer is: Option A. h3

Explanation:

The purpose of using selectors in CSS is to find the elements in the HTML page to which the formatting will be applied.

Different type of selectors are used in CSS.

In the given code, h3 is the selector.

All the <h3> elements on the page will be of orange color and will have font size 12.

Hence,

The right answer is: Option A. h3