Honlapkészítés Egyeteme/3.rész - Stíluslapok/background

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


<head> <title>this is the title of the web page</title>

<style type="text/css"> body {background-color: yellow;}

h1 {background-color: #00ff00;}

h2 {background-color: red;}

p {background-color: rgb(250,0,255);} </style>

</head>


<body>

<h1> This is a level 1 header </h1>

<h2> This is a level 2 header </h2>

<p> This is a paragraph </p>

</body>

</html>

[1]