Skip to main content

HOW A WEB BROWSER WORKS??

Well, you  reading this article shows you are using web browser, presenting this article content in a rich text/graphical format on your screen. A web browser  is an application software that  provides access to the World Wide Web. It fetches the web pages from the server along with the necessary files like, images, flashes, videos etc, interprets them and then displays it on the screen. On  simply typing the URL (Uniform Resource Locator) of a webpage in the address bar , the browser will bring the web page on your screen.Initially, user inputs a Uniform Resource Locator (URL), for example http://www.fb.com/, into the browser. The prefix of the URL, the Uniform Resource Identifier or URI, determines how the URL will be interpreted. The most commonly used kind of URI starts with http: and identifies a resource to be retrieved over the Hypertext Transfer Protocol (HTTP).Other prefixes are https: for HTTPS, ftp: for the File Transfer Protocol, and file: for local files. Prefixes that the web browser cannot directly handle are often handed off to another application entirely. For example, mailto: URIs are usually passed to the user's default e-mail application, and news: URIs are passed to the user's default newsgroup reader.
In the case of http, https, file, and others, once the resource has been retrieved the web browser will display it. HTML and associated content (image files, formatting information such as CSS, etc.) is passed to the browser's layout engine to be transformed from markup to an interactive document, a process known as "rendering".  Most browsers can display images, audio, video, and XML files, and have plug-ins to support Flash applications and Java applets. Upon encountering a file  that is set up to be downloaded rather than displayed, the browser prompts the user to save the file to disk.
Each link contains the URI of a resource to go to. When a link is clicked, the browser navigates to the resource indicated by the link's target URI, and the process  begins again.

1.      User Interface – It is the space where interaction between users and the browser occurs.eg - an address bar, next and back buttons, buttons for home, refresh and stop, options to bookmark web pages, etc.
2.      Browser Engine – It is the  code that communicates the inputs of user interface with the rendering engine. It is responsible for querying and manipulating the rendering engine according to the inputs from various user interfaces.
3.      Rendering Engine – It is the part  responsible for displaying the requested content on the screen. It first parses the html tags and then using the styles, it builds a render tree and finally a render layout, which displays the content on the screen.
4.      Networking – The  code , responsible to send various network calls.eg- sending the http requests to the server.
5.      Java Script Interpreter – It is the component  to interpret the java script code .
6.      UI Backend – This draws basic widgets on the browser like combo boxes, windows, etc.
7.      Data Storage – It is small database created on the local drive of the computer where the browser is installed. This database stores various files like cache, cookies, etc.

Browsers which include additional components to support e-mail, Usenet news, and Internet Relay Chat (IRC), are  referred to as "Internet suites" .
All major web browsers allow the user to open multiple information resources at the same time, either in different browser windows or in different tabs of the same window. Major browsers also include pop-up blockers to prevent unwanted windows from "popping up" without the user's consent.
Most web browsers can display a list of web pages that the user has bookmarked so that the user can quickly return to them.

Comments

Popular posts from this blog

Fatal exception errors and how to fix them

              'A fatal exception XY has occured at xxxx:xxxxxxxx' What is it? A fatal exception error is an error that causes a program to abort,returning the user to the operating system.When program encounters an exception that is invalid or unknown,fatal exception error(fatal 0E) is thrown.It mainly occurs during the computer's booting process,shutdown process or while trying to launch a program in windows.The processor exception(XY value) ranges from  00 to 0F. xxxx:xxxxxxxx represents the 32-bit address where the actual exception has occured. 00-Divide fault 02-NMI interrupt 04-overflow trap 05-bounds check fault 07-coprocesser not available 08-double fault 09-coprocesser segment overrun 0A-invalid task state segment 0B-Not present fault 0C-stack fault 0D-general protection fault 0E-page fault 10-coprocessor error fault 11-Alignment check fault When it occurs? Attempting an illegal instruction or operation accessin...

Test your anti virus software with eicar

Do you want to check whether you have deployed your anti virus(AV) software correctly? Checking your AV software with real virus is risky!What if you have an option to test with a file which the AV software detects as if it were a virus,but actually it is non-viral? EICAR(European Institution for Computer Anti virus Research) provides Anti-malware test file for this purpose.It provides four test files to check your anti virus software.A good anti virus scanner will believe that the file is virus-infected. To download the anti-malware test files,visit this website Please feel free to post your comments.

How does Global Positioning System work?

The U.S. military developed and implemented GPS satellite network as a military radio-navigation system to figure out the exact position on the earth. It’s made up of three parts: satellites, ground stations, and receivers. GPS is  a constellation of 27 Earth-orbiting satellites (24 in operation and three extras in case one fails). Each satellite is built to last about 10 years. Each one transmits information about its position and the current time at regular intervals.These satellites make two complete rotations around the globe everyday such that at any point of time atleast four satellites are visible to the receiver. The basis of GPS is "trilateration".Trilateration is a method of determining the relative positions of objects using the geometry of triangles.In order to make this simple calculation, the GPS receiver has to know the location of at least three satellites and the distance between our receiver and each of those satellites. The signals, moving at the speed...