Primeira página
/
Tecnologia
/
Which of the following is a valid CSS rule? h1 color: blue; ) style="color:blue;" css="color:blue;" h1 color ( blue; )

Pergunta

Which of the following is a valid CSS rule?
h1
color: blue;
)
style="color:blue;"
css="color:blue;"
h1
color (
blue;
)

Which of the following is a valid CSS rule? h1 color: blue; ) style="color:blue;" css="color:blue;" h1 color ( blue; )

Solução

expert verifiedVerification of experts
4.6136 Voting
avatar
RenanElite · Tutor por 8 anos

Responder

The correct answer is: color: blue;<br /><br />Explanation: A valid CSS rule consists of a selector and a declaration block. The selector specifies the HTML element to be styled, and the declaration block contains the property and value to apply to the selected element. In this case, 'h1' is the selector, and 'color: blue;' is the declaration block, making it a valid CSS rule.
Clique para avaliar: