Which of the following selector selects the element that is the first child of its parent that is of its type?
A. :first-of-type
B. :last-child
C. ::first-line
D. ::first-letter
Answer: Option A
Solution(By Examveda Team)
Example: strong:first-of-type {font-size:bigger;}Which of the following is the correct way to applying style to a document?
A. Use an external style sheet, either by importing it or by linking to it
B. Directly embed a document-wide style in the head element of the document
C. Set an inline style rule using the style attribute directly on an element
D. All of the mentioned
What will happen in this case?
<p style="color: red">text</p>
A. make that specific paragraph red.
B. error
C. nothing happens
D. none of the mentioned
The _______property is used to set the color of the text.
A. pallet
B. colour
C. color
D. text-decoration
Which of the following is the correct way to apply Styles?
A. inside an HTML element
B. inside the section of an HTML page
C. in an external CSS file
D. all of the mentioned
Join The Discussion