“Break Line Height CSS” Kode Jawaban

Lebar istirahat garis CSS

span { 
    display:block;
    width:150px;
    word-wrap:break-word;
}
GutoTrosla

Break Line Height CSS

<!DOCTYPE html >
<html>
  
<head>
    <title>
      Customized break example
  </title>
  
    <style type="text/css">
        .br {
            display: block;
            margin-bottom: 0em;
        }
          
        .brmedium {
            display: block;
            margin-bottom: 1em;
        }
          
        .brlarge {
            display: block;
            margin-bottom: 2em;
        }
    </style>
</head>
  
<body>
  
    <h3>This page shows different 
      break height between lines</h3>
    <p> Hi User
      <span class="brlarge"></span>
      Welcome to
      <span class="brmedium"></span> 
      Geeks for geeks.
      <span class="br"></span> 
      Hope you have enjoyed your stay.
    </p>
    
</body>
  
</html>
Perfect Pigeon

Jawaban yang mirip dengan “Break Line Height CSS”

Pertanyaan yang mirip dengan “Break Line Height CSS”

Lebih banyak jawaban terkait untuk “Break Line Height CSS” di HTML

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya