लाइन की ऊंचाई निर्धारित करने के लिए, लाइन-ऊंचाई संपत्ति का उपयोग करें। निम्नलिखित गुण मान हैं -
line-height: normal|number|length|initial|inherit;
उदाहरण
आइए अब एक उदाहरण देखें -
<!DOCTYPE html>
<html>
<head>
<style>
div {
line-height: 1.9;
}
</style>
</head>
<body>
<h1>Demo Heading</h1>
<div>
<p>This is demo text.<br>
This is another demo text.
</p>
</div>
</body>
</html> आउटपुट

उदाहरण
आइए अब एक और उदाहरण देखें -
<!DOCTYPE html>
<html>
<head>
<style>
div {
line-height: 200%;
}
</style>
</head>
<body>
<h1>Demo Heading</h1>
<div>
<p>This is demo text.<br>
This is another demo text.
</p>
</div>
</body>
</html> आउटपुट
