The purpose of this post is to provide you with a basic understanding of what makes it possible to see a website by typing its address.
It’s a simplification of what happens in reality, but the main ideas are here 🙂
It’s a way of making devices talking to each other.
Even if they are all computers we can differentiate two types of devices:
It’s your device (laptop or smartphone…).an extensive article about the client
It has one or many browsers installed on it to easily access the internet.
It’s a computer specialized in answering request.
It has some special software running on it to behave that way.
Usually you don’t own one.
On a small note, Internet is about making computers talk to each other.
So you can transform your own computer in a server if you want by installing those specific software!
A browser: It’s the software you use to access an internet page.
Some common browsers are:
It will do a lot for you so that you can have a graphical representation of what you’re asking for.
Yep, it seems obvious but that’s the main thing about computers: how with bits you can have an interactive display ✨
When you type an address in the browser, the browser will ask the server what is at that location for him to get.
Most of the time you want to get a web-page, but it can be anything: an image, sound, video, pdf documents…
A web-page is just a text file! we call it html file… You can read a lot more about HTML
So HTML is a text file but a very specific kind of text file.
- all the information you want to have but written in a specific way
- all the information that the web-page need to be more friendly and helpful
The latter part is the HTML file telling the browser to ask the server for more files.
Beside images/videos, there are also 2 domains where it needs more specific information:
- for having a nice presentation: those are the CSS text files
And now, using all those text files, your browser will do the magic and finally show you an interactive display of the information you wanted to see!
Love your browser and keep it up to date 😎
You know now that :
- a website is mainly text files
- They are given to you by the server
- The main text file for a website is the HTML file
Thanks to xpac27 for the corrections!