In the following code-snippet, what is the correct way to change the font size of the h1 heading to 24px?

<h1>The best bakery</h1>
<p>We make fine bread</p>
h1{
font-size: 24px;
}
p{
font-weight: bold;
}
p{
font-size: 24px;
}
h1{
font-weight: bold;
}

1 answer

The correct way to change the font size of the h1 heading to 24px is:

h1{
font-size: 24px;
}
Similar Questions
    1. answers icon 1 answer
  1. Which part of the following CSS rule is the selector?h1 { font-family: "Comic Sans MS", cursive, sans-serif; font-size: 70px;
    1. answers icon 1 answer
  2. Which of the following words is written in an italicized font?(1 point) Responses Font Font Font Font Font Font FONT
    1. answers icon 1 answer
  3. Which of the following words is written in an italicized font?(1 point) Responses 1. Font 2. Font 3. Font 4. FONT
    1. answers icon 1 answer
more similar questions