When multiple tabs are opened, how does the browser know which content belongs to which tab while rendering?
-
for example, if i have opened two tabs one is "http://google.com" and other is "http://yahoo.com", how will browser correctly render the content in respective tab.
-
Answer:
The same way Word knows that your resume and your grocery list are two different documents -- that's how the software is written. The OS has different, separate network connections for the connections needed to load the two sites, the browser has different spaces for them in memory and in the on-disk cache, and so on and so forth. If computer programs regularly mixed these sorts of things up, there would be absolute chaos.
Colin Barrett at Quora Visit the source
Other answers
To add things to Colin Barrett's answer, If you request something in the internet our computer will have a socket which is a combination of ip address and a port number. The server will recognize a request with this combination. Every process will communicate with a different port number while every computer will have it's own ip address to recognize it in the entire network. Every tab is a different process. It is more like a mail delivery. The typical mail address will have a structure similar to Name,Street address, country etc. Let's consider it as Name and Address. Address corresponds to ip address and name corresponds to a port number. Each and every tab will have a different name(port).
Raghu Venmarathoor
Related Q & A:
- How can I add specific controls to each of my tab?Best solution by c-sharpcorner.com
- How do i know which cookies to delete?Best solution by Yahoo! Answers
- How to know which email addresses in my contacts are inactive?
- How do you add multiple tabs?Best solution by Stack Overflow
- How to know which complex ions are colorless?Best solution by chemguide.co.uk
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.