HTML

Blank line

  1. Line-height

     <p style="line-height:10px;"> 
     This is a paragraph. 
     </p> 
     <p> 
     Another paragraph! 
     </p> 
    
  2. Padding-top

     <p style="padding-top:10px"> 
     This is a paragraph. 
     </p> 
     <p> 
     Another paragraph! 
     </p> 
    
  3. Padding-bottom

     <p style="padding-bottom:10px"> 
     This is a paragraph. 
     </p> 
     <p> 
     Another paragraph! 
     </p> 
    
  4. Break (BR)

     <p> 
     This is a paragraph. 
     </p> 
     <br> <!-- New line --> 
     <br> <!-- New line --> 
     <br> <!-- New line --> 
     <p> 
     Another paragraph! 
     </p> 
    

How do you insert a blank line in HTML?


Did you find this page helpful? Consider sharing it 🙌

Hongwei Li
Hongwei Li
Software, Networking

Always on the way - Coding, DevOps, Networking.