段落排版--行间距, 行高(line-height)

时间:2023-03-09 08:22:44
段落排版--行间距, 行高(line-height)
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>行间距</title>
<style type="text/css">
p{line-height:2em;} /*段落行间距为2倍。*/
</style>
</head>
<body>
<p>菲茨杰拉德,二十世纪美国文学巨擘之一,兼具作家和编剧双重身份。他以诗人的敏感和戏剧家的想象为"爵士乐时代"吟唱华丽挽歌,其诗人和梦想家的气质亦为那个奢靡年代的不二注解。</p>
</body>
</html>