4.2 CSS Select by Tag Quiz
star
star
star
star
star
Last updated about 1 year ago
4 questions
1
When using a tag name as a CSS selector, what is the effect on the HTML elements with that tag?
When using a tag name as a CSS selector, what is the effect on the HTML elements with that tag?
1
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?
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?
1
In the example provided in the video, what color was assigned to the `h2` tags?
In the example provided in the video, what color was assigned to the `h2` tags?
1
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?
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?