<html>
<head>
<style>
body{
background:lightblue;
}
#ex1{
line-height:1.5em;
}
#ex2{
line-height:3em;
}
</style>
</head>
<body>
<div id="ex1">
This paragraph has<br/>
1.5em line height
<div>
<div id="ex2">
This paragraph has<br/>
3em line height
<div>
<body>
</html>
The output is given below:

0 comments:
Post a Comment