自用備忘便利貼

YouTube 嵌入 HTML 語法

<p><iframe allowfullscreen="" class="BLOG_video_class" height="329" src="https://www.youtube.com/embed/YouTube Code" width="396" youtube-src-id="YouTube Code"></iframe></p><div class="separator" style="clear: both; text-align: left;"></div>


<p><iframe allowfullscreen="" class="BLOG_video_class" height="266" src="https://www.youtube.com/embed/YouTube Code" width="320" youtube-src-id="YouTube Code"></iframe></p><div class="separator" style="clear: both; text-align: left;"></div>123456789



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。

123456789<p>
<p><hr>