Web Technologies - Old Questions

1.  How does a web server link physically on the Internet? How do we navigate from one URL to another from a page displayed at a browser? Explain.

10 marks | Asked in 2068-II

The web server works as follows:

  • A user enters a URL into a browser (for example, google.com). This request is passed to a domain name server.
  • The domain name server returns an IP address for the server that hosts the Website (for example, 68.178.157.132).
  • The browser requests the page from the Web server using the IP address specified by the domain name server.
  • The Web server returns the page to the IP address specified by the browser requesting the page. The page may also contain links to other files on the same server, such as images, which the browser will also request.
  • The browser collects all the information and displays to your computer in the form of Web page.


Navigation in web page is simple. It use a single link tag termed as Anchor Tag <a>. By using anchor tag we can navigate from different portion of site, another web site. Generally navigation has three techniques

• Internal navigation (Navigation inside site)

• External Navigation (Navigate to third party site)

• Intra Navigation (Navigate with in web page for easy scrolling)

The following example demonstrate navigation technique in web browser.

<html>

 <head>

 <title>Navigation example</title>

 </head>

 <body>

    <h2 id="C4">Chapter 4</h2>

    <a href="#C4">Jump to Chapter 4</a>

    <a href="/images/flower.jpg">Open flower Picture of site (internal Link)</a>

    <a href="http://www.facebook.com/collegenote">Open facebook site (External Link)</a>

 </body>

 </html>