Source Code:
(back to article)
Submit
Result:
Report an issue
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
›
⌄
⌄
⌄
⌄
⌄
<!DOCTYPE html>
<
html
>
<
head
>
<
title
>Title of the document</
title
>
<
style
>
p
{
line-height:
2
em
;
/*1em = 16px */
}
</
style
>
</
head
>
<
body
>
<
p
>Some paragraph.</
p
>
<
p
>This paragraph is written with 2em line-height.</
p
>
</
body
>
</
html
>
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> p { line-height: 2em;/*1em = 16px */ } </style> </head> <body> <p>Some paragraph.</p> <p>This paragraph is written with 2em line-height.</p> </body> </html>