HTML <hr> 水平分隔線
<hr> 標籤本身的語意是用來做文字段落的焦點或場景轉換 (thematic break),視覺效果上則是一條水平分隔線。
語法範例:
<p>§1: The first rule of Fight Club is: You do not talk about Fight Club.</p>
<hr>
<p>§2: The second rule of Fight Club is: Always bring cupcakes.</p>
顯示結果:
§1: The first rule of Fight Club is: You do not talk about Fight Club.
§2: The second rule of Fight Club is: Always bring cupcakes.
<hr> 本身沒有內容是一個空元素,所以不需要 closing tag。