Snippets

Here is your code snippet

Code


set background colour

set the background colour

<html>
<head>

<style type="text/css">
body {background-color: yellow}
h1 {background-color: #00ffff}
p {background-color: rgb(250,0,0)}
</style>

</head>

<body>

<h1>example 1</h1>
<p>sample text</p>

</body>
</html>