answersLogoWhite

0

If the browser gets the file from a web server, the web server sends a small header in addition to the file, and the header specifies the "content type" of the file.
A web page is HTML, and has the content type "text/html", while a file with just text would have content type "text/plain".

Some browsers will also look at the file content and try to guess whether it's a web page, so it can display it as a web page even if the server sent the wrong content type.

If the browser reads the file from the file system, it normally looks at the file name extension, like ".htm" or ".html" means it's a web page. This is the same mechanism the operating system uses to know for example which files are Word documents and which files are movies.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

A file served by a webpage?

Web file


5 differences between webpage and web browser?

you cant really naswer this question with 5 difrences because they are 2 diffrent things. A web browser is the software application that access the web page. webpage is what you see the web browser is what displays the web page


Is Unix a web browser?

Unix is a text file, not a web browser. :)


What are the special formatted documents that you can view in your web browser?

Webpage


What is a HTML webpage?

A HTML Webpage is a page created on HTML. It runs on browser and co-ordinates with web.


What is the size of the icon for a webpage in a web browser?

In the head of your page, you will have the link to your favicon. This file can be named anything.ico. The size will either be 16x16, 32x32, or 64x64 pixels.


How do you download mp3 onto computer from webpage?

right click the link to the mp3 file. and "click save link as" or something similar depending on your web browser.


What are the special formatted documents called that you can view in web browser?

Webpage


What are the special formatted documents called that you can view in your web browser?

Webpage


What is the difference between web browser and webpage?

A web browser is a program on you computer like Internet Explorer, Google Chrome or Mozilla Firefox A web page is what you use the browser to view like Google, Youtube, facebook or answers.com


How do you view your HTML coding in a website?

A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.A html file can be opened by any browser direct from your computer. For it to be actually on the web it needs to be uploaded to a web server.


What is the relationship that exisits among website webpage and web browser?

A website can consist of many web pages. A browser is the piece of software that lets you view web pages.