我們可利用以下程式碼為網頁文字加上不同格式,例如粗體,斜體等等,同學可參考下列表格。
標簽 | 用法 |
---|---|
<b> </b> |
粗體 |
<em> </em> |
強調 |
<i> </i> |
斜體 |
<small> </small> |
小型 |
<strong> </strong> |
重點 |
<sub> </sub> |
下標 |
<sup> </sup> |
上標 |
<ins> </ins> |
插入 |
<del> </del> |
刪除 |
<mark> </mark> |
標記 |
例子:
<b>Hello</b><br>
<em>Hello</em><br>
<i>Hello</i><br>
<small>Hello</small><br>
建立一個 index.html
文本, 內容必須包括以下兩項。
- 所有
html
課業的超連結 - 關於
html
的感想,200字,而感 想中,必須使用以上文字元素。
P:/
└── html
├── basic.html
├── heading.html
├── list.html
├── table.html
├── link.html
└── index.html
提示:
- 回到 Chapter2, 複製 堂課0 的 html 程式碼。
- 回到 Chapter6, 複製 例子 的 html 程式碼,用以製作超連結。
- 回到 Chapter8, 可參考及本課提供之表格,製作 "我的感想"。
- 緊記所有程式碼需致於
<body>
</body>
內。