H1 margin: 0 0 10px 0; : Header margin « Tags « HTML / CSS






H1 margin: 0 0 10px 0;

   

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>*KHAKI*</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style rel="stylesheet" type="text/css">

h1 {
  margin: 0 0 10px 0;
  font: normal 1.4em verdana, arial, tahoma, sans-serif;
  text-transform: uppercase;
  color: #acaf2c;
  background: inherit;
}

</style>

</head>
<body>

   <h1>Welcome to <span style="font-weight:bold; color:#ACAF2C;">Test</span> Template</h1>


</body>
</html>

   
    
    
  








Related examples in the same category

1.h2 margin: 0;
2.h1, h2, h3 margin-left: auto; margin-right: auto;
3.h1 margin-bottom: 0;
4.h1 margin-top: 0;
5.h1 margin: 0 0 30px 25px;
6.h4 margin-bottom: 3px;
7.H4 margin:0;
8.h2 margin: 0 0 0 0;