setting backgroung color in css

setting backgroung color in css:

<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color: white;
}
</style>
</head>
<body>

<h1>Hello World!</h1>

<p>This page has a light blue background color!</p>

</body>
</html>

Output:

Hello World!

This page has a light blue background color!

Comments

Popular posts from this blog

css3 Borders

Introduction to CSS

Background repeat and no-repeat in css