h1 padding : Header : Basic Tags HTML CSS TUTORIALS


HTML CSS TUTORIALS » Basic Tags » Header »

 

h1 padding


 




<html>
<head>
<title>Untitled</title>
<style type="text/css">

h1  {color: white;
     background-color: black;
     text-align: center;
   padding: 10px;}

</style>
</head>
<body>
<h1>Contents of the &lt;h1&gt; Element</h1>
</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Basic Tags
» Header