提示: 本章介紹最常用標籤,未學過的範例請往後章節參考。邊學邊練是最佳方式,善用線上編輯器即時預覽。
<元素名>;結束標籤:</元素名><br />)<h1>–<h6><h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
<p><p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<a><a href="https://www.example.com">This is a link</a>
連結網址寫在 href 屬性中。
<img><img src="image.jpg" width="104" height="142" />
圖片路徑與尺寸皆以屬性指定。src 為必填。