1.3 Using a Web browser
A Web browser is a software that displays files within a Web server or file system and allows users to interact with those files. It is used to display text, imagery, and other information within the World Wide Web or local LAN. The browser is the designer's gallery, the designer put the page here to display to the user.
How the 1.3.1 Web browser works
Windows system comes with IE browser, the ordinary user when using it to browse the webpage, often neglect oneself to use the browser. For a page designer, understanding the principles of the browser can enable the designer to find a suitable way to display the Web page to the user.
So how do users navigate the Web using a browser? WWW is a structure using B/s (browser/server), that is, browser and server structure. It is a change or an improved structure of C/s structure with the rise of internet technology. In this structure, the user working interface is implemented by the WWW browser, the main transaction logic is implemented on the server side, and few transaction logic is implemented in the front end (Browser). This advantage is greatly simplifies the client computer load, reduce the system maintenance and upgrade costs and workload, reduce the overall cost of users. As a result, users only need to install a browser to browse the page, do not need to know what the server side of the operating system or server-side how to handle requests made by the browser, you can easily see what you want to see.
The workings of the browser can be understood in the following steps:
(1) The browser requests a URL to an application through an HTML form or hyperlink.
(2) The server receives the request from the user.
(3) The server executes the specified application that has been accepted for creation.
(4) The application is usually based on the content entered by the user, performing the required actions.
(5) The application formats the result into a document that the Web server and browser can understand, that is, the HTML page we are talking about.
(6) The Web server finally returns the results to the browser.
1.9 shows a flowchart of how the browser works.
|
Figure 1.9 How the browser works flowchart |
Figure 1.9 is a working process from the user entering the URL into the browser display page in the browser. WWW is based on the HTTP protocol, a Web browser is used to obtain and display Web pages through the URL of a software tool. URLs are used to specify where and how resources on the Internet are to be obtained.
Therefore, not all browsers support HTML language tags. In this case, you need to add the code that declares the function in the HTML.
How Web browsers work