'hN' sets the font size : Header font « Tags « HTML / CSS

HTML / CSS » Tags » Header font 
'hN' sets the font size
  
    
<html>
<head>
   <title>h* element example</title>
</head>
<body>
   <h1>This is a #heading</h3>
   <h2>This is a #heading</h3>
   <h3>This is a #heading</h3>
   <h4>This is a #heading</h3>
   <h5>This is a #heading</h3>
   <h6>This is a #heading</h3>
   <h> This is a #  heading without number</h3>
   
   <br>
   <br>
   <br>
   <br>
   <br>
   www.java2s.com without h#.
</body>
</html>
    
      
        
    
  
Related examples in the same category
1.h2 font: bold italic 2em Georgia, Times, "Times New Roman", serif;
2.h2 font: bold italic 2em Georgia, Times, "Times New Roman", serif;
3.h2 font-size: 1em;
4.h1 font-family: sans-serif;
5.h2 font-family: sans-serif;
6.h3 font-family: sans-serif;
7.h4 font-family: sans-serif;
8.h5 font-family: sans-serif;
9.h6 font-family: sans-serif;
10.h2 font: bold italic 2em "Helvetica Nue", serif;
11.h1 font-size: 17em;
12.h1, h2 and p are in Times New Roman font
13.h1 and h2 have green text and 22pt font
14.H1 font-family: "Times New Roman";
15.H1 font-size: 24px;
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;
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.