代表在 <li> <b> 之內的文字是藍色的。不是在 <li> 之內的 <b> 中的文字,就不會套用藍色字體這個樣式。

顯示<li>方式

HTML Entities

This is font size 16.

This is font size 30.

Span 不是區塊級的容器

例 1:上邊框為實線,下邊框為點線


例 2:上邊框為實線,且寬度中等


例 3:左邊框為實線,下邊框為虛線,且顏色為綠色

測試連接
以上樣式的意思為:

1) 一開始時,連接文字的顏色是紅色。

2) 一但被連接的頁面有被看過,連接文字顏色就變為藍色。

3) 當滑鼠蓋在連接上面時,文字大小變為 50,文字顏色變為綠色,而且下劃線會出現。

4) 當連接被點擊時,文字顏色變為粉紅色,而且下劃線不會消失。

舉例文字。



Demonstrating the Box Model

The CSS box model is essentially a box that wraps around every HTML element. It consists of: borders, padding, margins, and the actual content.

This text is the actual content of the box. We have added a 25px padding, 25px margin and a 25px green border. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.