Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
h1 {
background-color: lightblue;
}
h2 {
background-color: rgb(142, 191, 66);
}
p {
background-color: hsl(300, 100%, 25%);
}
span {
background-color: rgba(255, 127, 80, 0.58);
}
</style>
</head>
<body>
<h1>Example</h1>
<h2>Some heading with green background.</h2>
<p>Some paragraph with blue background.</p>
<span>Some paragraph for</span>
</body>
</html>