跟讀練習: Head Tag in HTML | An HTML5 Head Element Tutorial - 通過影片學習英語口語
選擇練習模式
每種模式都會開啟全屏練習室。
135 句
如果句子過短或過長,請點選 Edit 進行調整。
1
Hello and welcome.
2
Hi, I'm Dave.
3
This tutorial is part of a beginners HTML series.
4
I'll be using the Chrome web browser, the Visual Studio Code editor, and the live server extension for Visual Studio Code to view the web page.
5
There are links to these tools, starter code files, and all resources in the description below.
6
Let's move on to what else might go inside of our head element.
7
And remember, everything inside of the head element is not seen on the web page.
8
And with that said, I've dragged the Visual Studio Code window to a little smaller size on the left
9
and Chrome to a little smaller size on the right.
10
But I'm just going to expand
11
Visual Studio Code for now
12
because anything we change inside of the head element will not be seen on the web page anyway.
13
So I'll click the expand button and we'll just see our code.
14
Now I had mentioned that we could store more metadata inside of the head element
15
And that is definitely some of what we see.
16
So let's add a couple of typical
17
Meta tags that have metadata that you would commonly see
18
The first being for the author of the page
19
So we'll say name the attribute name is equal to author
20
because that's what type of meta tag this will be
21
And then we'll have a content attribute
22
and this is where you can put your name I'll put my name for now since I'm the author of the page.
23
And then let's add another meta tag.
24
And let's give it a name as well.
25
And here we'll put a description.
26
This will describe the web page in a little bit more detail than possibly the title would.
27
So here we can put more of a sentence.
28
And once again, we need the content attribute to do that.
29
Let's say this page contains all the things I am learning how,
30
if I could spell how, to, and it looks like I'm extending the page.
31
So in Visual Studio Code, I'm going to press
32
Alt -Z in Windows to make sure the text continues to wrap
33
and then I'll say all the things I am or I am learning how to create as I learn HTML.
34
There we go.
35
Now after that of course you still need to close the meta tag
36
and control s to save and again I got the words to wrap.
37
Let's go to the view menu.
38
If you scroll all the way down you can see word wrap is alt z.
39
It may be something different if you're on Mac or Linux
40
so you might want to check the view menu under word wrap
41
if you want your words to wrap
42
and not just extend forever to the right here
43
now we've added more description about our page now this information could be picked up in a search engine
44
or some other service that wants to learn more about our web page however let's go ahead
45
and put something in the head where we will notice the change when we go back to the browser.
46
And that is to add what is called a fav icon.
47
And we can do that with a link element.
48
Let me use lowercase once again.
49
And inside of the link element, we'll have several attributes.
50
One is the REL, which stands for relate or relation.
51
How does this relate to the web page?
52
And here we're going to provide an icon.
53
After that, we need an href.
54
This refers back to HTML that stands for hypertext.
55
This is a hypertext reference.
56
So we're referencing a resource.
57
And here we're going to reference a file that I have now put inside of our folder that is called HTML5 .png.
58
And if I click the file explorer over here, you can see I've now added an image file that's a .png file,
59
HTML5 .png and you can download this image from the resources.
60
And you can see it's a small little icon for the HTML5 logo.
61
So I'll close that.
62
I'm going to click the file browser to have that disappear again.
63
So we see this.
64
Now we have one more attribute to add, and that is the type.
65
What type of resource is this?
66
And here we'll say image slash x dash icon.
67
And now we can save this and I'm going to go ahead and minimize the code window.
68
And now if we look at our web page in the browser, notice we have an icon up here.
69
My first web page now has our little fav icon beside the title.
70
And that's what we added here in the head by adding the fav icon with a link element.
71
Now we won't add any more here today, but this is the same area where we would link to CSS files
72
and even JavaScript files and other resources that we pull in from the web.
73
So the head is a very important part of the page, even though we don't see.
74
the content of the head inside the body of the page.
75
And I said we wouldn't link to anything else here today, but since we do have this default CSS to make our page a dark mode,
76
if you added this, and once again, this was optional, if you prefer the white page with dark text, you didn't need to add this,
77
and we had this style element here to hold the CSS in the head, but that's not usually where you would find it for a page.
78
So let's go ahead and do that.
79
I'll expand Visual Studio Code again, click the file explorer
80
and over here inside the file tree I want to create a new file
81
I'm going to call this main .css
82
and I have an empty css file all we need to do now is go back to the index
83
select the css
84
that we put here for the html in the body not the style tags just select the css
85
that's between the style tags I'm going to press ctrl x to cut
86
it out of the page go to the CSS file and control V to paste it into the CSS file.
87
Control S to save that file.
88
Now back in the HTML, I'm going to remove the style element, and I'm going to add another link.
89
And here for the rel, not ref, but rel, we have a style sheet.
90
Because we're adding a CSS style sheet, our href will now point to our CSS,
91
main .css specifically, and our type, which isn't actually required anymore.
92
But since we have it, let's go ahead and add text slash CSS.
93
But our browser should know what it is, even if we didn't add that at this point,
94
because that's really the only type of style sheet there is, is a CSS.
95
Now that we've made these changes, let's save the file.
96
And let's go ahead and click the button again to make our code shrink back down and look at our page.
97
We can reload just to make sure it has reloaded and everything looks the same.
98
That's because we are pulling in our code.
99
I'm going to go ahead and hide the file tree here.
100
We are pulling in our CSS code using our link tag inside of the head element.
101
Now, finally, I'm going to create an error on purpose by deleting the
102
greater than symbol at the end of this link tag and saving the file with control S.
103
Now, why would I create an error on purpose
104
because we want to validate our file again
105
and this will let us know that yes we've got the right file
106
and we expect one error there you don't of course have to create an error on purpose
107
but that's what i'm doing to make sure i'm selecting the correct file out of the correct lesson folder
108
because i'm in lesson two now you might be working on the same file
109
we started with there's the css file
110
and the image file i'll select the index .html and check
111
and i should have at least one if not more errors
112
because of that yes that created several errors on the page just by leaving out
113
that one closing greater than symbol for the link text now if i save again
114
visual studio code formats our code correctly instead of trying to pull the closing
115
head tag up here and i'm going to go ahead
116
and reload or re -upload the file to check it so we choose index .html.
117
Now I'll click check and document checking completed.
118
No errors or warnings to show.
119
So just by missing one little thing in our page, we could have a whole list of errors.
120
So follow the prompts from Visual Studio Code.
121
Notice how if I leave that out here in my theme, this turns red or pink.
122
It doesn't look quite right.
123
Visual Studio Code wants to format it differently if I save the file
124
and it pulls that up here instead of putting the closing tag.
125
There's several cues to show you that you have an error in the file.
126
And so follow those prompts in Visual Studio Code.
127
And then remember to always validate your page.
128
And we always do that at validator .w3 .org.
129
I'll get rid of everything at the end of that.
130
And here you can pull it up.
131
And then we choose file upload.
132
Remember to keep striving for progress over perfection and a little progress every day will go a very long way.
133
Please give this video a like if it's helped you and thank you for watching and subscribing.
134
You're helping my channel grow.
135
Have a great day and let's write more code together very soon.
同頻道
FOR YOU
推薦影片
本課的詞彙與口語要點
這節口語課以影片“Head Tag in HTML”為素材。 影片中反覆出現的詞有:file, page, code, css, html。 這段影片共有 135 個句子、1645 個單詞可供跟讀。 講話部分時長為 9:26。 說話人語速自然,每分鐘約 175 個詞,接近日常對話。 84% 的單詞屬於英語最常用的 3,000 詞,其餘的詞建議在練習前先學一下。
影片中的重點詞彙
影片中 15 個值得學習的單詞,附發音和釋義:
| 單詞 | 發音 | 釋義 |
|---|---|---|
| element 名詞 | /ˈɛləmənt/ | 要素 |
| icon 名詞 | /ˈaɪ.kɑn/ | 聖像 /聖像 |
| resource 名詞 | /ɹɪˈzɔːs/ | 資源 /資源 |
| wrap 動詞 | /ɹæp/ | 包裝 /包裝, 包 |
| attribute 名詞 | /ˈæt.ɹɪˌbjut/ | 屬性 /屬性 |
| select 動詞 | /sɪˈlɛkt/ | 選 /選, 挑選 /挑選 |
| tag 名詞 | /tæɡ/ | 標簽 /標籤 |
| sheet 名詞 | /ʃit/ | 篇, 張 /張 |
| expand 動詞 | /ɪkˈspænd/ | 擴充套件 /擴充套件, 擴張 /擴張 |
| format 名詞 | /ˈfɔːɹ.mæt/ | 格式, 開本 /開本 |
| lesson 名詞 | /ˈlɛs.ən/ | 課業 /課業, -課 /-課 |
| symbol 名詞 | /ˈsɪmbəl/ | 符號 /符號 |
| menu 名詞 | /ˈmɛn.juː/ | 選單 /選單 |
| upload 動詞 | /ˈʌpˌloʊd/ | 上載 /上載, 上傳 /上傳 |
| explorer 名詞 | /ɛkˈsplɔːɹə(ɹ)/ | 探險者 /探險者 |
影片中出現的短語動詞
| 單詞 | 發音 | 釋義 |
|---|---|---|
| go ahead 動詞 | /ˌɡoʊ əˈhɛd/ | 請便 /請便 |
| back down 動詞 | 做出讓步 /做出讓步 |
值得反覆跟讀的句子
影片中簡短而完整的句子,可以直接用在日常對話裡:
- Let's go to the view menu.
- That's because we are pulling in our code.
- You're helping my channel grow.
影片中的語法
說話人最常用的結構,並附上影片中的原話:
| 結構 | 影片中的用法 |
|---|---|
| 現在完成時 have/has + 過去分詞 — 過去發生但與現在仍有關聯的事 | I've dragged · we've added · have now put |
| 被動語態 be + 過去分詞 — 強調發生了什麼,而不是誰做的 | is not seen · will not be seen · could be picked |
| 用 “might / may” 表可能 might/may + 動詞 — 有可能但不確定的事 | might go · may be · might want |
| 比較級 -er than / more … than — 比較兩個事物 | more detail than · greater than |
需要注意的發音
說話人用了 51 次縮略和弱讀形式,例如 I'm, I'll, we'll。請按聽到的簡短形式來說。
- “sh” 和 “zh” 音: sheet /ʃit/, extension /ɪkˈstɛnʃən/, relation /ɹɪˈleɪʃ(ə)n/, dash /ˈdæʃ/, perfection /pɚˈfɛk.ʃən/
- 長單詞——注意重音位置: differently /ˈdɪf.ə.ɹənt.li/, metadata /ˈmɛt.əˌdeɪ.tə/
中文母語者容易讀錯的音:
- /v/ — 不要讀成 /w/,上齒輕觸下唇: server /ˈsɝvɚ/, strive /ˈstɹaɪv/, validate /ˈvæl.ɪ.deɪt/
- 詞尾子音 — 要讀清楚,後面不要加母音: element /ˈɛləmənt/, resource /ɹɪˈzɔːs/, wrap /ɹæp/, attribute /ˈæt.ɹɪˌbjut/, select /sɪˈlɛkt/
- /r/ 和 /l/ 的區別: relate /ɹɪˈleɪt/, explorer /ɛkˈsplɔːɹə(ɹ)/, relation /ɹɪˈleɪʃ(ə)n/, differently /ˈdɪf.ə.ɹənt.li/, correctly /kəˈɹɛk(t).li/
如何用這段影片練習
- 先完整聽一遍影片,不要開口,記下不認識的單詞。
- 先用 0.75 倍速逐句跟讀,熟練之後再回到正常速度。
- 錄下自己的聲音並與原聲對比,特別注意 element, icon, resource 這類單詞。
什麼是跟讀法?
跟讀法 (Shadowing) 是一種有科學依據的語言學習技巧,最初開發用於專業口譯員的培訓,並由多語言者Alexander Arguelles博士普及。這個方法簡單而強大:您在聽英語母語原聲的同時立即大聲重複——就像是一個延遲1-2秒緊跟說話者的影子。與被動聽力或語法練習不同,跟讀法強迫您的大腦和口腔肌肉同時處理並模模擬實的講話模式。研究表明它能顯著提高發音準確性,語調,節奏,連讀,聽力理解和口語流利度——使其成為雅思口語備考和真實英語交流最有效的方法之一。













