XHTML and CSS Tutorial - 23 - Margin

<!DOCTYPE html PUBLIC” -//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml/DTD/xhtmll-transitional.dtd>

<html>



<head>

<style type ="text/css">
P{Background-Color:orange;
Margin:1px;}




</style>

</head>

<body>

<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>

</html>

Comments