Tento prehliadač už nie je podporovaný.
Inovujte na Microsoft Edge a využívajte najnovšie funkcie, aktualizácie zabezpečenia a technickú podporu.
Choose the best response for each of the questions.
To make all h2 elements on a page bold using a single style command, what method should be used?
h2
Use a CSS selector for h2 to set the style.
Use the style tag on each h2 element using copy and paste.
Enclose the h2 tag in a style tag.
Which best describes methods to set the color property for a font?
color
Use RGB values such as color: rgb(105, 6, 19) or color: #7462e0;
color: rgb(105, 6, 19)
color: #7462e0;
Use named color values such as color: brown; or color: lightgrey;.
color: brown;
color: lightgrey;
Use either RGB or named values.
Which is the best method to apply the same styles to multiple elements?
Change all elements to the same tag and use a tag selector in CSS
Create a custom selector and assign the class attribute on the elements to that selector.
class
Create a custom selector and assign the id attribute on the elements to that selector.
id
You must answer all questions before checking your work.
Bola táto stránka užitočná?
Potrebujete pomôcť s touto témou?
Chcete si vyskúšať použitie funkcie Ask Learn na objasnenie alebo predstavenie tejto témy?