Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Reza Sorasti
Reza Sorasti
491 Points

The meaning of "Loading a page?"

Hello, In the different web development courses in the treehouse, I keeping hearing the instructors using the terms, "Loading a page". When they use the term "a page", I am assuming they are talking about the "Web Page"? right? Also, I am assuming the webpage is the "HTML file". Right? and it is the "index.html" file. Correct? Also, when the instructors say "Loading the page", they are talking about loading the page to where? Loading the page from where to where?

4 Answers

Normally a web page (html file) sits in a web server somewhere ... but it also can be in your hard drive.

the html file is made up of a bunch tags <>.

every browser has an engine that interprets/renders the html tag in an html file to produce the html page you see.

Generally you should thing of this a a browser "window" that contains an HTML document (page)

so using a simple example.

create a Hello world html file on your hard drive (download one from the web)

name it hello.html

in you file explorer, point to it and double click

it will open in a browser .... meaning that you browser read the html tags and produced the result html document.

Hope this helps

Reza Sorasti
Reza Sorasti
491 Points

Hi Mark, I have a religious belief about having to obey people. In your description, you said, "Generally you should think of this a a browser "windows" that contains an HTML (page)". It is impossible for me to always EVERY SECOND to think of this a a browser "windows" that contains an HTML (page)". It is actually impossible for me to think of this a a browser "windows" that contains an HTML (page) even every time I think about an HTML file(page). Are you telling me to always EVERY SECOND, I should think of this a a browser "windows" that contains an HTML (page)"? If EVERY SECOND, I don't think about it that way, am I disobeying you?

Hello

This may help ....

http://www.programering.com/a/MjM5EDMwATI.html

yes ... every thing starts with a Window that exposes a document (among other things ... see image) ... which in turn exposes the html page tht contains tags <> sich as <a> <p> ... and on

Thanks

Reza Sorasti
Reza Sorasti
491 Points

Hey, Mark, can you please read my last post and this post throughly since I have not received the answer to my questions. My questions in the last post was not even a technical question. Rather, I was asking you if you were requiring me to think about that stuff EVERY SECOND (which is impossible). I got other things to think about in life as well. My question was about obeying you, not technical stuff. Like I said, I have a religious belief of obeying people. I don't want to think that I am disobeying you (sinning) if I don't think about that stuff EVERY SECOND OR if I think differently regarding those ( web page, HTML page, tags, browser) concepts. I wrote: It is impossible for me to always EVERY SECOND to think of that concept that told me which was: this a a browser "windows" that contains an HTML (page)". It is actually impossible for me to think of that concept that this a a browser "windows" that contains an HTML (page) even every time I think about an HTML file(page).

After all, I got other things to think about as well in life Or I simply might not be interested to think about that concept at all.

1) It is difficult for me to actually do the act of thinking. You wrote, "Generally you should think of this a a browser "windows" that contains an HTML (page)". When you used the term "think", were you literally telling me to actually do the act of thinking about the stuff in the quote above , or you were just telling me to have a understanding of the stuff in the quote above?

2) Are you telling me to always EVERY SECOND, I should think of "this a a browser "windows" that contains an HTML (page)"? EVERY SECOND?

3) Are you telling me that EVERY TIME, that I deal with a web page, HTML page, tags, and a browser(s), I should think of "this a a browser "windows" that contains an HTML (page)"?

4) Would that be OK with you that I ONLY sometimes think about that concept that you told me to think about which was ("Generally you should think of this a a browser "windows" that contains an HTML (page)")?

5) Would that be OK with you that I DO NOT think about that concept that you told me to think about which was ("Generally you should think of this a a browser "windows" that contains an HTML (page)") every time that I deal with a web page, HTML page, tags, and a browser(s)?

6) If EVERY SECOND, I DO NOT think about that concept that you told me to think about which was ("Generally you should think of this a a browser "windows" that contains an HTML (page)"), am I DISOBEYING you?

7) If I NEVER think about that concept that you told me to think about which was ("Generally you should think of this a a browser "windows" that contains an HTML (page)"), am I DISOBEYING you?

A simple "Yes" or "No" answer will help and also if you could please respond to each of my 7 questions with a number corresponding to each question. That way I know which question you are responding to.

Thanks