css行間距怎么設置

CSS指的是層疊樣式表 , 可以用CSS來修改網頁的格式 。 下面 , 我們來看看css行間距怎么設置吧 。 操作方式 01 【css行間距怎么設置】輸入代碼
在<body>本家兒體中輸入兩行文字 , 如下圖所示:

css行間距怎么設置



css行間距怎么設置



02 然后再用<br/>分段 , 如下圖所示:

css行間距怎么設置



03 再輸入type樣式表 , 本家兒如果用來放CSS代碼內容的 , 如下圖所示:

css行間距怎么設置



04 輸入CSS內容
然后再輸入CSS內容 , 即可看到行間距轉變 , 如下圖所示:
總代碼
<style type="text/css">
body{font-size:12pt;line-height:3}
</style>
</head>

<body>
<body>
hello world 01 <br/>
hello world 02
</body>

css行間距怎么設置





以上內容就是css行間距怎么設置的內容啦 , 希望對你有所幫助哦!

    猜你喜歡