亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Specifies the space between lines

This example demonstrates:

How to specify the space between lines in a paragraph.

Example analysis:

The line-height property is used to set the line height in percentage; not allowed negative value.

You can set the following values:

●Normal: Default value, set a reasonable line spacing.

● Number: Set a number. This number will be multiplied by the current font size to set the line spacing.

●length: Set a fixed line spacing.?

● %: Percent line spacing based on the current font size.


Continuing Learning
||
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文網(wǎng)(php.cn)</title> <style> p.small {line-height:70%;} p.big {line-height:200%;} </style> </head> <body> <p> 這是一個(gè)標(biāo)準(zhǔn)行高的段落。<br> 這是一個(gè)標(biāo)準(zhǔn)行高的段落。<br> 大多數(shù)瀏覽器的默認(rèn)行高約為110%至120%。<br> </p> <p class="small"> 這是一個(gè)更小行高的段落。<br> 這是一個(gè)更小行高的段落。<br> 這是一個(gè)更小行高的段落。<br> 這是一個(gè)更小行高的段落。<br> </p> <p class="big"> 這是一個(gè)更大行高的段落。<br> 這是一個(gè)更大行高的段落。<br> 這是一個(gè)更大行高的段落。<br> 這是一個(gè)更大行高的段落。<br> </p> </body> </html>
submitReset Code