<!DOCTYPE html>
<html>
<head>
<title>jQuery height() method</title>
<script src="jquery-latest.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
$("p").height("100px");
});
});
</script>
</head>
<body>
<p style="background-color: pink;">First paragraph start here...</p>
<button>Click here to call height() method to set height</button>
</body>
</html>