135k views
2 votes
Create and apply a CSS class named YellowBackground that selects a yellow background. Apply the class to your HTML file’s body tag.

User Zart
by
7.1k points

1 Answer

0 votes

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

<style>

.YellowBackground {

background-color:yellow;

}

</style>

</body>

</html>


Like this?

User Jeff Sisson
by
8.4k points