h2 padding: 0; : Header padding « Tags « HTML / CSS






h2 padding: 0;

  

<!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">
<head>
<title></title>
<style type="text/css">
h2 { 
 font: bold italic 2em  Georgia, Times, "Times New Roman", serif;
 margin: 0;
 padding: 0;
} 
p {
 margin: 0;
 padding: 0;
}

</style>
</head>

<body>
  <h2>Designing Instant Gratification</h2>
  <p>Online, activity of exchanging ideas is sped up. The 
  distribution of messages from the selling of propaganda to the
  giving away of disinformation takes place at a blindingly fast
  pace thanks to the state of technology&hellip;</p>
</body>
</html>

   
    
  








Related examples in the same category

1.h2 padding: 0.5em 0 0.5em 0;
2.H1 padding: 0 0 3px 0;
3.h1 padding: 20px 0 0 0;
4.h1 padding: 5px 5px 0 0;
5.H1 padding: 25px;
6.H4 padding:10px 0 2px 15px;
7.h2 padding: 5px;