Skip to content

Commit 674adf6

Browse files
committed
Updates chapter1-4.md
Auto commit by GitBook Editor
1 parent 72b24cf commit 674adf6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

chapter1-4.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
## 1-4 HTML基本語法
22

3+
HTML的跟我們人一樣,有頭有身體,所有的HTML語法皆是由小於【<】的符號當開頭,大於【>】的符號當結尾,而基本語法如下,所有語法皆使用<html>標籤所包住,內部有<head>放置網頁屬性,不會顯示於瀏覽器中,多在此處設定網頁屬性或引用檔案,如:引用css、javascript等檔案,<body>標籤的內容則會顯示於瀏覽器中,而語法結束需以【</ >】符號當作結尾,與開頭不同的地方是在【<】後方加入除【/】的符號來當結尾。
34

5+
```
6+
<!DOCTYPE html>
7+
<html lang="zh-Hant-TW">
8+
<head>
9+
<meta charset="UFT-8">
10+
<title>網頁標題</title>
11+
</head>
12+
<body>
13+
網頁內容
14+
</body>
15+
</html>
16+
```
417

518

619

0 commit comments

Comments
 (0)