Thursday, 4 February 2021

Write the correct CSS syntax for changing body background colour to black

 you can write simple HTML code and open any web browser 

<html>

<head>

<title>Welcome to online exam 2020</title>

<style>

#bak

{

background-color:black;

}

#newtext

{

color:green;

font-size:30px;

}


</style>

<body id="bak" >

<div id="newtext">Welcome to online exam 2020</div>

</body>

</html>

</head>


0 comments:

Post a Comment