Use background-color property and give a better look to your web pages.
{background-color : red;}
property value
<!DOCTYPE html>
<html>
<head>
<title>Button</title>
</head>
<body>
<div style="background-color:purple;
padding:30px;color:white">
TDB Tutorials
</div>
</body>
</html>
We can use different color codes on our web page
<!DOCTYPE html>
<html>
<head>
<style>
.tdb-school{color:rgb(255,255,255);padding:10px 35px;
border:none;border-radius:5px}
.black{background-color:rgb(0,0,0)}
.red{background-color:rgb(255,0,0)}
.green{background-color:#008000}
.blue{background-color:#0000ff}
</style>
</head>
<!--Body-->
<body>
<button type="submit" class="black tdb-school">
Press</button>
<button type="submit" class="red tdb-school">
Press</button>
<button type="submit" class="green tdb-school">
Press</button>
<button type="submit" class="blue tdb-school">
Press</button>
</body>
</html>
Share TDB SCHOOL
Share this E-Learning Website on social media platforms with your friends and followers