H1 font-size: 24px; : Header font « Tags « HTML / CSS






H1 font-size: 24px;

   

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"
  xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style rel="stylesheet" type="text/css">
#posts {
  width: 680px;
  float: left;
  padding: 45px 0 0 40px;
  font-family: Arial;
  font-size: 12px;
  color: #474747
}

#posts h1 {
  font-family: "Times New Roman";
  font-size: 24px;
  color: #140A00;
  width: 680px;
  display: block;
  border-bottom: 1px solid #CBC9C7;
  padding: 0 0 3px 0;
  float: left;
}
</style>
</head>
<body>
    <div id="posts">
      <h1>SEO of sites using Social Networks</h1>
      <div class="date">July 25th, 2008</div>
      <div class="post">
        Illum secundum exerci erat plaga illum, enim, venio. Tamen causa ut diam torqueo sagaciter inhibeo si quae exerci lobor- tis. Appellatio vel hos autem, ludus luptatum mauris ratis jugis interdico. Gilvus consequat abico demoveo lenis validus typicus ut commodo. Consequat, eu voco cui eros, euismod quis illum, commodo. Nibh valde tincidunt ex quae ratis meus neo aliquam. Esse, in damnum tation accumsan premo antehabeo mauris in in, ullamcorper virtus. Blandit te valde tation comis sed consequat hendrerit blandit oppeto brevitas amet illum camur quis. Iaceo tamen consequat inhibeo, consequat scisco sino iriure virtus vulpes nostrud. Accumsan ratis feugait vero dolus quae velit nimis facilisis, erat, ullamcorper, valde minim. <br />
        Bis vel, consectetuer dignissim velit feugiat quis. Autem exputo, metuo augue enim metuo, ut. Vicis neo et suscipere occuro haero feugiat paulatim. Vel velit erat, nullus ratis scisco, epulae aptent ullamcorper imputo. Decet, vulpes premo eros populus at abigo genitus. Hendrerit augue imputo fatua jugis, mara persto aliquip ad dolore luptatum velit. Probo abbas nisl tego, diam refoveo ea. Enim melior fatua jugis loquor delenit damnum jus luptatum fe Augue vindico valetudo qui, demoveo. Pagus importunus feugiat augue magna tation vereor utrum dolor. 
        <div class="link-after-post">
          <a href="#">Permalink</a> <a href="#">15 Comments</a>
        </div>
      </div>
      <h1>Web Directories</h1>
      <div class="date">June 16th, 2008</div>
      <div class="post">
        Illum secundum exerci erat plaga illum, enim, venio. Tamen causa ut diam torqueo sagaciter inhibeo si quae exerci lobor- tis. Appellatio vel hos autem, ludus luptatum mauris ratis jugis interdico. Gilvus consequat abico demoveo lenis validus typicus ut commodo. Consequat, eu voco cui eros, euismod quis illum, commodo. Nibh valde tincidunt ex quae ratis meus neo aliquam. Esse, in damnum tation accumsan premo antehabeo mauris in in, ullamcorper virtus. Blandit te valde tation comis sed consequat hendrerit blandit oppeto brevitas amet illum camur quis. Iaceo tamen consequat inhibeo, consequat scisco sino iriure virtus vulpes nostrud. Accumsan ratis feugait vero dolus quae velit nimis facilisis, erat, ullamcorper, valde minim. <br />
        Bis vel, consectetuer dignissim velit feugiat quis. Autem exputo, metuo augue enim metuo, ut. Vicis neo et suscipere occuro haero feugiat paulatim. Vel velit erat, nullus ratis scisco, epulae aptent ullamcorper imputo. Decet, vulpes premo eros populus at abigo genitus. Hendrerit augue imputo fatua jugis, mara persto aliquip ad dolore luptatum velit. Probo abbas nisl tego, diam refoveo ea. Enim melior fatua jugis loquor delenit damnum jus luptatum fe Augue vindico valetudo qui, demoveo. Pagus importunus feugiat augue magna tation vereor utrum dolor. 
        <div class="link-after-post">
          <a href="#">Permalink</a> <a href="#">12 Comments</a>
        </div>
      </div>
    </div>

</body>

</html>

   
    
    
  








Related examples in the same category

1.'hN' sets the font size
2.h2 font: bold italic 2em Georgia, Times, "Times New Roman", serif;
3.h2 font: bold italic 2em Georgia, Times, "Times New Roman", serif;
4.h2 font-size: 1em;
5.h1 font-family: sans-serif;
6.h2 font-family: sans-serif;
7.h3 font-family: sans-serif;
8.h4 font-family: sans-serif;
9.h5 font-family: sans-serif;
10.h6 font-family: sans-serif;
11.h2 font: bold italic 2em "Helvetica Nue", serif;
12.h1 font-size: 17em;
13.h1, h2 and p are in Times New Roman font
14.h1 and h2 have green text and 22pt font
15.H1 font-family: "Times New Roman";
16.H1 font: normal 1.4em verdana, arial, tahoma, sans-serif;
17.h1 font: normal 1.4em verdana, tahoma, arial, sans-serif;
18.h1 font: 170% verdana, "Trebuchet MS", arial, tahoma, sans-serif;
19.h1 font-size: 22pt;
20.h2 font-size: 18pt;
21.H4 font-size:1em;
22.H4 font-weight:bold;
23.h2 font-size: 130%;
24.h2 font: 130% verdana, "Trebuchet MS", arial, tahoma, sans-serif;