Search This Blog

Quiz on Selectors Fresco Play HackerRank Solution

Q.1 Which feature uses :: (double colon)?

1) Style-properties

2) Sequence Selectors

3) Pseudo-Elements

4) Combinator

Ans: 3) Pseudo-Elements




Q.2 Which feature enables easy identification of corresponding style element?

1) Combinator

2) Pseudo-elements

3) Selectors

Ans: 3) Selectors





Q.4 Pseudo elements help in _______

1) assisting in defining the CSS3

2) nullifying some features

3) providing special effects to some selectors

4) overriding the predefined characteristics

Ans: 3) providing special effects to some selectors




Q.4 Which of the following selector matches the name of any element type?

1) The Descendant Selector

2) The Type Selector

3) The Class Selector

4) The Universal Selector

Ans: 4) The Universal Selector





Q.5 Applying style to a single specific HTML element can be best achieved through ________ type selector.

1) Class

2) ID

3) Parent

4) Child

Ans: 2) ID




Q.7 What is best way to overcome the default settings that comes with CSS?



1) Use additional param reset in your default CSS config

2) Create reset.css in-addition to your existing CSS

3) Change style.css

Ans: 2) Create reset.css in-addition to your existing CSS




Q.8 The ________ pseudo-class can be used in a style rule to change the appearance of links that the visitor has already clicked.

1) active

2) focus

3) link

4) visited

Ans: 4) visited





Q.9 Which feature uses :: (double colon)?

1) Style-properties

2) Pseudo-Elements

3) Combinator

4) Sequence Selectors

Ans: 2) Pseudo-Elements

No comments:

Post a Comment

If you have any doubts, Please let us know.