Letter spacing in headings : hN « Tags « HTML / CSS






Letter spacing in headings

  

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>Letter spacing in headings</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <style type="text/css">
    h1.header_spacing {letter-spacing:0.1em;}
  h1 {font-family:"gill sans", arial, sans-serif;font-weight:normal;}
  </style>

</head>

<body>

<h1>THIS HEADING IS ALL CAPITALS</h1>
<h1 class="header_spacing">THIS HEADING IS ALL CAPITALS</h1>

</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 letter-spacing: 5px;
7.h1 {counter-reset: paragraphNumber;}
8.h2 letter-spacing: 5px;
9.HTML heading elements
10.CSS statements for heading styles
11.Header 1 alignment
12.Heading Test
13.Create a Heading