adplus-dvertising
frame-decoration

Question

Which of the following selector is used to selects the element that is the first child of its parent that is of its type?

a.

:nth-child(n)

b.

::first-line

c.

:last-of-type

d.

:first-of-type

Answer: (d).:first-of-type

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following selector is used to selects the element that is the first child of its parent that is of its type?

Similar Questions

Discover Related MCQs

Q. Which of the following selector is used to selects the element that is the nth child of its parent?

Q. Which of the following selector is used to selects the element that is the root of the document?

Q. Which of the following selector is used to select elements that are read-only. When applied to form elements, this would select fields with the readonly attribute set?

Q. Which of the following measurement represent seconds?

Q. Which value specifies a transition effect with a slow start, then fast, then end slowly?

Q. Which of the following specifies a transition effect with same speed from start to end?

Q. Which of the following specifies how many seconds a transition effect takes to complete?

Q. What specifies the speed curve of transition effect?

Q. Which of the following defines a MIME string format of the content being returned?

Q. What defines the date when information becomes invalid?

Q. Which of the following specifies the length of the data being returned?

Q. Which variable defines the data type of the content?

Q. What returns the set cookies in the form of a key?

Q. Which of the following gives the path for CGI script?

Q. What gives the full path to CGI script?

Q. Which of the following is not a combinatory?

Q. Which of the following selects all elements that are siblings of the specified element?

Q. Which of the following adds the value of a counter to an element?

Q. Which of the following specifies how to slice border image?

Q. Which web font was developed by Apple and Microsoft in the late 1980s?