Menu
×
×
Correct!
Exercise:Insert the RGBA color value for a full red background color of the <h1> element, with no transparency.
<style>
h1 {
background-color: @(20);
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
h1 {
background-color: rgba(255, 0, 0, 1.0);
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
h1 {
background-color: rgba(255,0,0,1.0);
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
h1 {
background-color: rgba(255, 0, 0, 1);
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
h1 {
background-color: rgba(255,0,0,1);
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?