Modified Code

This commit is contained in:
Muhammad Ibrahim 2024-11-19 09:38:30 +05:30
parent cf5eeb3fd4
commit e6630677c4

View File

@ -5,12 +5,19 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Colors</title> <title>Colors</title>
<style> <style>
/* Write your CSS code here. */ body {
/* 1. Make the background of the webpage "antiquewhite" background-color: antiquewhite;
2. Make the h1 "whitesmoke" }
3. Make the background of the h1 "darkseagreen"
4. Make the h2 #FAF8F1 h1 {
5. Make the background of the h2 "#C58940" */ color: whitesmoke;
background-color: darkseagreen;
}
h2 {
color: #FAF8F1;
background-color: #C58940;
}
</style> </style>
</head> </head>