Chapter - 18 - How Web Browsers Work
Chapter - 18 - How Web Browsers Work
C H A P T E R
How Web
18 Browsers Work
145
LIKE much of the Internet, the World Wide Web operates on a client/server model. You run a web
client on your computer—called a web browser—such as Microsoft’s Internet Explorer or Firefox. That
client contacts a web server and requests information or resources. The web server locates and then sends
the information to the web browser, which displays the results.
When web browsers contact servers, they’re asking to be sent pages built with Hypertext Markup
Language (HTML). Browsers interpret those pages and display them on your computer. They also can dis-
play applications, programs, animations, and similar material created with programming languages such as
Java and ActiveX, scripting languages such as JavaScript, and techniques such as AJAX.
Sometimes, home pages contain links to files the web browser can’t play or display, such as sound or ani-
mation files. In that case, you need a plug-in or a helper application. You configure your web browser or
operating system to use the helper application or plug-in whenever it encounters a sound, animation, or
other type of file the browser can’t run or play.
Over the years, web browsers have become increasingly sophisticated. Browsers are now full-blown soft-
ware suites that can do everything from videoconferencing to letting you create and publish HTML pages.
Browsers now also blur the line between your local computer and the Internet—in essence, they can make
your computer and the Internet function as a single computer system.
Increasingly, a browser is not just a single piece of software, but an entire suite. The newest version of
Internet Explorer, for example, includes security features such as an anti-phishing filter. The Firefox browser
has a companion piece of email software called Thunderbird that can be downloaded as well.
When browsing the Internet, one of the most frustrating experiences is the error messages browsers dis-
play when they’re having trouble contacting a website. Depending on which browser you use, and which
version of the browser you’re using, those messages might differ. Sometimes browsers display error messages
in plain English—but more often they don’t. The final illustration in this chapter lists the most common
browser error messages—and what they mean.
146 PA R T 4 HOW THE WORLD WIDE WEB WORKS
Background Color
Layer 1 3 The coding in the HTML files tells your browser how to dis-
play the text, graphics, links, and multimedia files on the
home page. The HTML file your browser loads to display the
home page doesn’t actually have the graphics, sound, multi-
media files, and other resources on it. Instead, it contains
HTML references to those graphics and files. Your browser
uses those references to find the files on the server and then
display them on the home page.
Hyperlink
Web browsers can’t display some types of files on the Internet, notably
some kinds of multimedia files, such as sound, video, and animation
files. (A common file type like this is called Flash.) To view or play these
files, you need what is called a helper application or plug-in. You must
configure your web browser or operating system to launch these helper
applications and plug-ins whenever you click an object that needs them
to be viewed. More often than not, when you install the application or
plug-in, it will configure itself properly.
Web Server