Log in
Sign up for FREE
arrow_back
Library

4.2 CSS Select by Tag Quiz

star
star
star
star
star
Last updated over 1 year ago
4 questions
1
1
1
1
Question 1
1.

When using a tag name as a CSS selector, what is the effect on the HTML elements with that tag?

Question 2
2.

If you wanted to create a CSS rule that changes the font size of all `h3` tags to 24 pixels, which of the following is the correct CSS code?

Question 3
3.

In the example provided in the video, what color was assigned to the `h2` tags?

Question 4
4.

Consider a scenario where you have multiple `img` tags on a webpage, each with different heights. If you want to set all of them to a height of 200 pixels using CSS, which of the following rules would you use?