iT邦幫忙

2024 iThome 鐵人賽

DAY 8
0

<p>表示一個段落,<p></p>裡面的內容會自動分成一個段落

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            background-color: antiquewhite;
        }
    </style>
</head>
<body>
    <p>This is the first paragraph.</p>
    <p>This is the second paragraph</p>
</body>
</html>

https://ithelp.ithome.com.tw/upload/images/20240912/20168468EFtjVrqDNG.png
由此可知,<p>會直接換行,進行下一個段落,所以如果要寫履歷表,詳細的資料就可以使用p,也能直接進行分段

<p>也能搭配<b>做使用,<b>能加粗字體,如果需要註記重點內容,就可以使用<b>

<p>This is the <b>first</b> paragraph.</p>
    <p>This is the <b>second</b> paragraph</p>

https://ithelp.ithome.com.tw/upload/images/20240912/20168468qrEgvrJkRq.png

/images/emoticon/emoticon29.gif


上一篇
Day7.<h1>-<h6>標題元素
下一篇
Day9.<div>區塊容器元素
系列文
Web前端的探索:30天的驚奇之旅23
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言