h1 letter-spacing: 5px; : hN « Tags « HTML / CSS






h1 letter-spacing: 5px;

   

<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">
#banner {
  height: 150px;
  padding: 0;
  margin-top: 0;
  color: #666;
  background: #7dce27 url(img/banner.jpg) no-repeat;
}

#banner h1 {
  margin-top: 0;
  padding: 5px 5px 0 0;
  font: 170% verdana, "Trebuchet MS", arial, tahoma, sans-serif;
  text-align: right;
  letter-spacing: 5px;
  color: #4B2207;
  background: inherit;
}


</style>

</head>
<body>
  <div id="banner">
    <h1>Company Name</h1>
  </div>
</body>
</html>

   
    
    
  








Related examples in the same category

1.H1 inline style
2.H1 float: left;
3.H1 width: 680px;
4.H1 display: block;
5.h1 letter-spacing: 3px;
6.h1 {counter-reset: paragraphNumber;}
7.h2 letter-spacing: 5px;
8.HTML heading elements
9.CSS statements for heading styles
10.Header 1 alignment
11.Heading Test
12.Create a Heading
13.Letter spacing in headings