h4 margin-bottom: 3px; : Header margin « Tags « HTML / CSS






h4 margin-bottom: 3px;

   

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
    <head>
        <title>letter-spacing</title>
<style type='text/css'>
body {
    font: 14px sans-serif;
}
h4 {
    border-bottom: 1px solid green;
    margin-bottom: 3px;
}
p {
    margin: 0;
}
.code {
    font-family: monospace;
}
.higher, .lower {
    letter-spacing: 5px;
    background: lavender;
    color: midnightblue;
}
.lower {
    letter-spacing: -1px;
}
</style>


    </head>
    <body>
        <h4>Letter Spacing</h4>
        <p>
            <span class='code'>letter-spacing</span> 
            <span class='higher'>farther apart the letters</span>
            <span class='lower'>the closer together the letters</span>.
        </p>
    </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: 0 0 10px 0;
5.h1 margin-top: 0;
6.h1 margin: 0 0 30px 25px;
7.H4 margin:0;
8.h2 margin: 0 0 0 0;