1. 程式人生 > >Foundation框架2

Foundation框架2

Foundation 文字的使用

 

1.標題的使用h

<h1>h1 標題</h1>

<h2>h2 標題</h2>

<h3>h3 標題</h3>

<h4>h4 標題</h4>

<h5>h5 標題</h5>

<h6>h6 標題</h6>

效果圖

 

2.淺色標題subheader

 

<h1 class="subheader">h1.subheader</h1>
<h2 class="subheader">h2.subheader</h2>
<h3 class="subheader">h3.subheader</h3>
<h4 class="subheader">h4.subheader</h4>
<h5 class="subheader">h5.subheader</h5>
<h6 class="subheader">h6.subheader</h6>

 

3.淺色的副標題<small></small>

 

<h1>h1 heading <small>secondary text</small></h1>
<h2>h2 heading <small>secondary text</small></h2>
<h3>h3 heading <small>secondary text</small></h3>
<h4>h4 heading <small>secondary text</small></h4>
<h5>h5 heading <small>secondary text</small></h5>
<h6>h6 heading <small>secondary text</small></h6>

 

4.連結a

 

<p>這是一個 <a class="a" href="#">連結</a>。</p>

 

5.縮略詞abbr

 

<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>

 

6.塊引用blockquote

<blockquote>

     <p>學的不僅是技術,更是夢想!</p>

     <cite>菜鳥教程</cite>

</blockquote>

 

7.自定義dl/dt/dd

 

<dl>

   <dt>Coffee</dt>

   <dd>- black hot drink</dd>

   <dt>Milk</dt>

   <dd>- white cold drink</dd>

</dl>

 

8.程式碼code

 

<p>

以下 HTML 元素: <code>span</code>, <code>section</code>, 和 <code>div</code> 是文件的一部分。

</p>

 

9.鍵盤按鍵kbd

 

<p>

按下 <kbd>ctrl + p</kbd> 鍵開啟列印視窗。

</p>

 

10.水平分割線hr

<hr>