Afrikaans
Akan
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
1
And welcome to the student Q&A section as students take this course,
2
usually I get a bunch of questions. Some of them are really really good, some of them I get often.
3
And we're going to use these Q&A sections for me to make a reply video to answer some of those really
4
really good questions.
5
And the first thing we're going to tackle for this video is 'index.html'.
6
If we go back to our example that we had, you noticed that I've always used 'index.html' as
7
the first page.
8
And then we created 'newpage.html'.
9
Now you might be asking yourself why 'index.html'.
10
Why not 'home.html', or 'apples.html'? And you could actually do that.
11
But I can explain this really well by looking at this diagram.
12
Most of the time there are more than a few html files.
13
You saw that with our example we had our 'index.html' and also 'newpage.html'.
14
But when we make that request to let's say google.com, how does the server know which html (file) to
15
return first for the homepage?
16
And you could go into the server and configure it and tell it you know what I want 'about.html' to
17
be the first page. But, by default most servers just say, "I'll return 'index.html'- if I see 'index.html'
18
in the servers, I'll just return that."
19
So this is just a common practice that you'll see in a lot of the projects that a lot of the websites
20
that you'll work with,
21
is that 'index.html' is usually, you can think of it as the home-page, the first a HTML file
22
that the server returns.
23
And if anybody in the 'index.html' clicks on that link, then it will return whichever link they return.
24
So there will be - let's say they click on 'About' anchor tag, then they'll get 'about.html'.
25
So that's it.
26
That is your answer to your question.
27
I'll see in the next one. Bye-bye
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.