<!DOCTYPE html>
<html lang="en-US">
<body>
<div id="point">
<p>This is first paragraph</p>
<p>This is second paragraph</p>
</div>
<button onclick="myFunction()">Click Me</button>
<script>
function myFunction(){
x = document.getElementById("point");
x.style.lineHeight = 3;
}
</script>
<p><strong>Note</strong>: Click on the button to set the line-height to 3.</p> </body>
</html>