<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Leading</title>
<!-- to change line height all you need is "line-height" propertie -->
<style>
h1{
line-height: 10px;
}
h2{
line-height: 20px;
}
</style>
</head>
<body>
<h1>the line height is 10px here</h1>
<h1>the line height is 10px here</h1>
<h2>the line height is 20px here</h2>
<h2>the line height is 20px here</h2>
</body>
</html>