Whether you’re on a computer, tablet or a smart­phone: The way to the internet mostly starts with a browser. As a given, we use Google Chrome, Mozilla Firefox or Safari to visit websites or to make purchases in online shops. But what is a browser actually? Here, you’ll find a simple ex­pla­na­tion and learn how exactly “the gateway to the world wide web” works.

Key Takeaways

A browser is the program that turns the code of a website into the page you see on your screen – and it does con­sid­er­ably more than display text and images.

  • A browser requests a website from a server and renders the HTML, CSS and JavaScript it receives into a readable page.
  • The rendering engine is the central component: Blink is used by Google Chrome, Microsoft Edge and Opera, Gecko by Mozilla Firefox and WebKit by Apple Safari.
  • Pages can look slightly different from browser to browser because the engines support new web features at different times.
  • Every browser shares a basic set of elements: address bar, nav­i­ga­tion buttons, tabs, bookmarks, downloads and settings.
  • Ex­ten­sions add features such as screen­shots or ad blocking; the plug-in tech­nolo­gies of earlier years, above all Adobe Flash Player, are gone.
  • Browsers differ most in how they treat third-party cookies, which is why the privacy settings are worth a look.

Browsers: a simple ex­pla­na­tion

A browser is a program that requests websites from a server and displays them graph­i­cal­ly on the screen. Texts, images, videos as well as links and other website features are displayed with the help of a browser. Browser software is free of charge in almost all cases, and the major browsers are available both for desktop computers and for mobile devices.

The browser des­ig­na­tion is derived from the verb “to browse.” In the beginning, browsers were intended for turning pages forward and backward within multi-page text files. With the in­tro­duc­tion of hypertext, nav­i­ga­tion cross-ref­er­ences were added, so-called hy­per­links. In the meantime, the range of features available in browsers has grown con­sid­er­ably: In addition to images and videos, in­ter­ac­tive graphics, audio files and PDFs are shown directly in the browser window, and complete web ap­pli­ca­tions such as email clients or office suites run inside it.

How does a browser work?

In order to be able to answer the question “What is a browser?” more precisely, it helps to un­der­stand the software’s func­tion­al­i­ty. If you enter a URL in your browser, this requests the page from the target server. The server responds by returning the content in the form of HTML code, images and other resources. In doing so, every resource is clearly iden­ti­fied via a URI (Uniform Resource Iden­ti­fi­er). With the help of the par­tic­u­lar spec­i­fi­ca­tions that are contained in the HTML and CSS files, the browser in­ter­prets all content and ensures that we are able to see and use the website on our screen.

Image: Communication between the end device, browser and a website’s resources
Com­mu­ni­ca­tion between the end device, browser and a website’s resources

And what does this in­ter­pre­ta­tion mean in practice? In order to be able to properly display all resources, various com­po­nents complete a number of tasks. What sits behind the browser’s user interface is the browser engine, which passes the user’s input on to the rendering engine and co­or­di­nates its work. In current browsers these com­po­nents no longer run in a single process: As a rule, each tab runs in a process of its own, and in Google Chrome and Microsoft Edge each extension does as well, so that one crashed or com­pro­mised page cannot reach the rest of the browser.

What does the rendering engine do?

This module is the central element for the display of content: By default, the engine displays HTML, XML and CSS files as well as images, and it runs the JavaScript that belongs to the page. After an HTML file is requested, for example, the rendering engine parses it. This means that the engine analyzes the HTML data and converts it into a format that the browser can further process. At the same time, the rendering engine creates the DOM structure on one hand – the tag’s content structure – and on the other hand, the render tree, which holds the colors, the sizes and other layout criteria.

Both struc­tures are combined in the following steps: The nodes of the DOM tree are initially po­si­tioned according to exact co­or­di­nates, a step known as layout. Lastly, the render tree is drawn on the screen with the help of the UI backend, which vi­su­al­izes the website. Ap­pro­pri­ate­ly enough, this step is also called “painting.” “UI” stands for “user interface,” which is also called the frontend. In other words, what the user finally sees on the screen.

Which other modules does a browser contain?

In addition to the UI backend mentioned above, which is re­spon­si­ble for the display of fun­da­men­tal widgets, such as screen windows and dialogs, a net­work­ing module assumes the network calls via the es­tab­lished protocols, such as HTTP and its encrypted successor HTTPS. A JavaScript engine parses and runs JavaScript code. Fur­ther­more, data storage is provided as a per­sis­tent component that, among other things, locally stores cookies, browser history, cache and site data on the computer. For this purpose, browsers no longer use a single web database: Websites store struc­tured data in IndexedDB, small values through the Web Storage API and offline copies of files in the Cache API.

Which browser engines are there?

Although there are dozens of browsers, only a handful of rendering engines are behind them. Which engine a browser uses de­ter­mines how it draws a page on the screen and at what point it supports a new web standard. The table lists the engines that matter in practice:

Browser engine Browsers that use it De­vel­op­ment
Blink Google Chrome, Microsoft Edge, Opera, Brave, Vivaldi Chromium project, led by Google
Gecko Mozilla Firefox, Tor Browser Mozilla
WebKit Apple Safari Apple

This is also the reason why a website in Google Chrome sometimes looks somewhat different than it does in Mozilla Firefox: The page that the server delivers is identical, but the engines that draw it are not.

Why do websites look different in different browsers?

HTML is no longer published in numbered versions. Since the HTML5 era, HTML has been main­tained as a living standard that is extended con­tin­u­ous­ly, and the same applies to CSS and JavaScript. Browsers therefore don’t differ in the HTML version they un­der­stand, but in how quickly and how com­plete­ly they implement new features. A layout that relies on a very recent CSS property can ac­cord­ing­ly be rendered as intended in one browser and fall back to a simpler pre­sen­ta­tion in another.

The basic building blocks of a page – text, images and links – are the same in every browser; only their arrange­ment and pre­sen­ta­tion can differ. In­ci­den­tal­ly, these de­vi­a­tions can also emerge if your browser is not up to date. For this reason, it is rec­om­mend­ed that you let your browser update itself au­to­mat­i­cal­ly.

What types of browser elements are there?

After resolving the question “What is a browser?”, let’s now take a look at the most important elements and features. The basic con­fig­u­ra­tion of every browser includes the following elements:

  • Address bar for entering the URL or a search term
  • Buttons for nav­i­gat­ing forwards and backwards, for updating or re­fresh­ing and for stopping a loading process
  • Button for the browser homepage
  • Tabs, so that several pages can stay open in one window
  • Feature for creating bookmarks
  • Download area that lists the saved files
  • Settings area for the start page, the default search engine, site per­mis­sions and privacy options

Other features vary from browser to browser or can be added as needed. Browsers aimed at web de­vel­op­ers ad­di­tion­al­ly bring developer tools that show the DOM structure, the network requests and the JavaScript errors of the page that is open.

Useful ad­di­tion­al browser features

In addition, browsers such as Mozilla Firefox and Safari allow you to organize your bookmarks, save your passwords and use private browsing mode, which Google Chrome calls incognito mode. In doing so, you don’t leave any visible traces on your own device. For example, your browser history isn’t stored and data that has been entered in a form cannot be re­con­struct­ed. What a private window doesn’t do is equally important: It doesn’t hide your activity from the website you are visiting, from your employer or from your internet provider.

Fur­ther­more, in the es­tab­lished browsers you’ll typically find every­thing you need to know about the topics of security and data pro­tec­tion, pro­tec­tion against phishing and malware, warnings for con­nec­tions that are not encrypted as well as ad blockers. These features, however, do not replace the com­pre­hen­sive virus pro­tec­tion that every end device should have.

What current browsers no longer offer are the plug-ins of earlier years. Adobe Flash Player reached its end of life at the end of December 2020, and no current browser runs it or com­pa­ra­ble plug-in tech­nolo­gies anymore. Their role has been taken over by web standards that the browser supports by itself, such as HTML5 video, the Canvas API and We­bAssem­bly.

Tip

If you are lacking specific features, such as the option to take a screen­shot in the browser or to translate a page au­to­mat­i­cal­ly, your browser’s range of features can be expanded through ex­ten­sions. Install them only from the official store of your browser and remove the ones you no longer use.

How do browsers handle cookies and tracking?

Every browser stores small text files called cookies. A cookie that belongs to the website you are visiting keeps you logged in or remembers what is in your shopping cart. A third-party cookie, on the other hand, comes from a different domain than the one in the address bar and mainly serves to recognize you across several websites, as a rule for ad­ver­tis­ing purposes.

This is where the browsers differ most clearly today: Apple Safari blocks third-party cookies by default and Mozilla Firefox confines them to the site that set them, while Google Chrome still permits them and instead offers settings with which you can restrict or delete them. In­de­pen­dent­ly of the browser, you can delete cookies and site data at any time in the settings, and you can decide per website whether it may use your camera, your mi­cro­phone or your location.

The US has no single federal privacy law for websites. The Federal Trade Com­mis­sion (FTC) acts against unfair or deceptive data practices under Section 5 of the FTC Act, and a number of states have passed privacy laws of their own. The everyday decision about which cookies you accept, however, is still made in your browser settings.

How do you keep your browser secure?

The browser is the point at which your device meets the open internet, which makes it one of the most important pieces of software to keep current. Browser vendors close security vul­ner­a­bil­i­ties with updates that are often released within days, and the update is only effective once the browser has been restarted.

  • Leave automatic updates switched on and restart the browser when it asks you to.
  • Install ex­ten­sions only from the official store of your browser and check which per­mis­sions an extension requests.
  • Review the site per­mis­sions in the settings and withdraw camera, mi­cro­phone, location or no­ti­fi­ca­tion access that a website no longer needs.
  • Use separate browser profiles for work and private browsing if you share a device with other people.
  • Pay attention to the lock symbol and to warnings about con­nec­tions that are not encrypted before you enter data in a form.

The US Cy­ber­se­cu­ri­ty and In­fra­struc­ture Security Agency (CISA) names keeping software such as browsers up to date among its basic rec­om­men­da­tions for private users and or­ga­ni­za­tions alike.

What browsers are there and which one is the best?

Because all browsers es­sen­tial­ly operate the same way, one cannot make sweeping state­ments about which one is the best. A lot more depends on one’s needs and user habits. The most widely used browsers include:

  • Google Chrome: On the market since 2008, the most widely used browser in the US and worldwide and the number one option when it comes to cross-device syn­chro­niza­tion.
  • Apple Safari: Pre­in­stalled on macOS, iOS and iPadOS and, because of the share of iPhones, cor­re­spond­ing­ly wide­spread in the US.
  • Microsoft Edge: The successor to Internet Explorer, pre­in­stalled on Windows and, since 2020, built on the same Chromium project as Google Chrome.
  • Mozilla Firefox: The best-known Windows and Linux browser that is not based on Chromium, developed by the non-profit Mozilla Foun­da­tion and its sub­sidiary.
  • Opera: A Chromium-based browser with built-in features such as an ad blocker, mostly popular on mobile devices.
  • Brave and Vivaldi: Smaller Chromium-based browsers that focus on tracking pro­tec­tion and on con­fig­ura­bil­i­ty.

Microsoft Internet Explorer no longer belongs in this list. Microsoft ended support for the Internet Explorer 11 desktop ap­pli­ca­tion on June 15, 2022. The same applies to the original version of Microsoft Edge that was not yet based on Chromium and that is referred to as Edge Legacy. Websites that still require Internet Explorer can be opened in Microsoft Edge in a dedicated IE mode.

In a separate article on the subject “Which browser is the best?” we provide a more in-depth in­tro­duc­tion to the in­di­vid­ual browsers.

Reviewers

Go to Main Menu