Browser, rendering engine, JavaScript engine
A browser is an assembly of parts. What the user sees, the address bar, tabs, bookmarks or history, is the shell. At its core sits the rendering engine: it reads the HTML, applies the style sheets, works out the position of every element and paints the page. A JavaScript engine runs the scripts, and a networking layer talks to servers over HTTP.
That distinction explains everything that follows. The same engine can power several browsers, and a browser can change engines while keeping its name: Opera abandoned its own in 2013, and at the end of 2018 Microsoft announced that Edge would adopt Chromium’s. The JavaScript language has its own history, as does its creator, Brendan Eich; it appears here only where it affected competition between browsers.
| Engine lineage |
Origin |
Main browsers |
Milestone |
| Spyglass Mosaic, then Trident (MSHTML) |
Code licensed from Spyglass in 1995, followed by Microsoft’s MSHTML engine |
Internet Explorer |
Browser retired in 2022 |
| Netscape’s engine, then Gecko |
Netscape in 1994, new NGLayout engine chosen in 1998 |
Netscape, Mozilla suite, Firefox |
Developed by Mozilla |
| KHTML, then WebKit |
KDE project, taken up by Apple in 2003 |
Konqueror, Safari, Chrome until 2013 |
Mandatory for browsers on iPhone, with exceptions |
| Blink |
Forked from WebKit by Google in 2013 |
Chrome, Opera, Edge |
Adoption announced by Microsoft in December 2018, stable Chromium-based Edge in January 2020 |
| Presto |
Opera |
Opera until 2013 |
Dropped in favour of Chromium |
Simplified table: each lineage has gone through many internal rewrites.
Before Mosaic: browsers for insiders
The first browser, WorldWideWeb, was written by Tim Berners-Lee on a NeXT computer at the end of 1990; it could also edit the pages it displayed. CERN added a line-mode browser, basic but usable from almost any terminal. In 1992 the first graphical browsers appeared for Unix workstations running the X Window System: Erwise, released in Finland on 29 April, Pei Wei’s ViolaWWW, then MidasWWW, by Tony Johnson at SLAC. The story of the Web’s birth at CERN covers these early clients in detail.
This software was aimed at physicists and computer scientists who knew how to install a program on a workstation. The timeline kept by the W3C counts about 50 known HTTP servers in January 1993. The Web existed, but it was one service among others, alongside Gopher, file transfer and Usenet newsgroups.
1993: Mosaic brings the Web to personal computers
A browser for X, then for everyone
On 23 January 1993, Marc Andreessen, a student working at NCSA, the University of Illinois supercomputing centre, announced version 0.5 of X Mosaic on the www-talk mailing list; he had developed it with programmer Eric Bina. A month later, on 25 February, he proposed a new HTML element on the same list, IMG, noting that Mosaic already implemented it: the image appeared in the page, within the text, instead of opening in a separate window. NCSA now describes Mosaic as the first published browser to display images automatically alongside text. How the IMG element works is explained in the article on HTML, HTTP and URLs.
In September 1993, according to the W3C timeline, NCSA released working versions of Mosaic for all the common platforms, including Windows and the Macintosh. The browser left the world of Unix workstations for that of desktop computers. By December 1993, according to NCSA, more than 5,000 copies a month were being downloaded.
Measurable growth
The W3C figures show the scale of the change: about 50 known servers in January 1993, more than 200 in October, and over 1,500 registered servers in June 1994. Mosaic alone does not explain that growth, but it gave every new server an audience able to visit it with a mouse, images and a simple installation.
Its success also exposed a lasting tension. The most widespread browser can introduce elements that others do not yet support, and authors adopt them because their readers can see them. Whoever distributes the most-used software effectively shapes how the language of web pages evolves.
1994–1995: Netscape turns the browser into a product
In March 1994, according to the W3C timeline, Andreessen and several colleagues left NCSA. On 4 April 1994, according to the Computer History Museum, Andreessen and Jim Clark, founder of Silicon Graphics, set up Mosaic Communications Corporation, soon renamed Netscape. On 13 October 1994, Andreessen announced on www-talk the public beta of Mosaic Netscape 0.9, a browser “written from scratch” and tuned for the 14.4 kbit/s modems then common in homes. The message set out the terms: version 1.0 would be free for personal use, and a commercial version with technical support would follow.
Navigator 1.0 came out in December 1994. The findings of the US federal court, issued in 1999, note that shortly after this release, users were already relying on Navigator far more than on any other browser. Netscape made the software a product in its own right: downloadable, frequently updated and given features that went beyond displaying documents, such as a scripting language, JavaScript, unveiled with Sun at the end of 1995, Java applets, or the cookies that give websites a memory.
For Netscape, the browser was also a gateway to its servers and business services. For Microsoft, it quickly became a threat: if applications ran through the browser, the operating system underneath would matter less.
Microsoft joins the race
A licensed browser, then a free one
In 1995 Microsoft licensed the Mosaic technology marketed by Spyglass, which became the basis of Internet Explorer. Release dates vary between sources. The court’s findings place Internet Explorer 1.0 in July 1995, whereas Microsoft dates its public launch to August 1995, with the Microsoft Plus! pack for Windows 95. The same findings put version 3.0 at the end of 1996, yet elsewhere describe it as available from August 1996, with the OSR2 update of Windows 95; version 4.0 came out on 30 September 1997, according to Microsoft. According to the court, reviewers rated the browser slightly more favourably against Navigator with each version. The Spyglass contract provided for royalties; since Microsoft gave its browser away rather than selling it, the resulting dispute was settled in January 1997 with a lump-sum payment of $8 million, in cash and services, covering all future royalties.
The 1999 judgment also recounts the exchanges of summer 1995. At meetings held on 2 and 21 June, Microsoft suggested that Netscape’s Navigator for Windows 95 should build on Microsoft’s Internet interfaces and set itself apart through complementary features, while announcing that Microsoft would market its own browser for Windows 95. Netscape carried on with its own development.
The court noted that in early 1995 Microsoft considered selling Internet Explorer as an add-on, then decided not to charge for it once it was built into Windows, a policy maintained ever since. The distribution licences granted to internet service providers, software publishers and Apple were free as well. With AOL, Microsoft went further: in exchange for a prominent place in Windows, the service provider received a bounty for every subscriber it moved from Navigator to software based on Internet Explorer.
Usage shares flip
At the end of 1996, a Microsoft executive, James Allchin, summed up the situation in an email quoted by the court: Netscape had 80% of the market and Microsoft 20%. He recommended leaning more on Windows rather than treating Internet Explorer as an add-on. Windows 98 integrated the browser so tightly that it offered no way to uninstall it.
The court found that Navigator’s usage share fell from over 70% in early 1996 to about 50% by the end of summer 1998, while Internet Explorer’s rose from about 5% to about 50% over the same period. Navigator’s installed base nonetheless kept growing: an estimate used by AOL and quoted by the court, limited to the United States, puts it at 15 million users in 1996 and 33 million in December 1998. Netscape was losing the race in proportional terms, in a market that was expanding very fast.
The “browser wars” as seen by page authors
Writing for two browsers
For website authors, the rivalry showed up first as differences in display. Each vendor added its own HTML elements, its own scripting extensions and its own way of interpreting style sheets. The interfaces that let scripts modify a page also differed between Netscape and Internet Explorer, an episode covered in the history of JavaScript.
The most common workaround was to identify the browser. Browsers usually send a User-Agent header with their HTTP requests that names them; the HTTP standard recommends sending it without requiring it, and Microsoft’s documentation points out that the server can use it to tailor content to the browser. Some sites therefore sent one version to Netscape, another to Internet Explorer, and sometimes nothing usable to anyone else. The practice left lasting traces, examined below through an example.
The doctype as a switch
In the late 1990s, browsers wanted to fix their CSS support to follow the standards. But millions of pages had been tuned to their old bugs: fixing them abruptly would break those pages. The answer was a heuristic. According to Henri Sivonen, a developer who documented these mechanisms, doctype-based mode switching was devised after HTML 4 and CSS 2 had been written, to tell older documents apart from those whose authors expected standards-compliant behaviour.
The principle is simple, even if the details depend on the exact declaration. A page with no document type declaration, or with certain old ones, is displayed in quirks mode, which reproduces historical behaviour. Other declarations, including old ones such as HTML 4.01 Strict, trigger standards mode; HTML 4.01 Transitional with the address of its DTD gets an intermediate “almost standards” mode in more recent browsers. Internet Explorer 5 for Macintosh already had these modes, and Internet Explorer 6 for Windows picked its mode from the doctype. Sivonen notes that from Internet Explorer 6 to 9, quirks mode stayed frozen on the behaviour of Internet Explorer 5.5. HTML5 eventually accepted this reality: in a document served as text/html, the doctype only selects the mode, and its shortest form is enough:
<!DOCTYPE html>
The mechanism illustrates a rule that runs through the whole history of browsers: a vendor can only fix a behaviour if it gives existing pages a way to keep the old one.
The Microsoft trial and its aftermath
On 18 May 1998, the US Department of Justice and several states sued Microsoft. On 5 November 1999, Judge Thomas Penfield Jackson issued his findings of fact, the source of several figures in this article. In June 2000, the court ordered the company to be broken up.
On 28 June 2001, the federal Court of Appeals for the District of Columbia Circuit, sitting en banc, handed down a mixed ruling:
- it largely upheld the finding that Microsoft had illegally maintained its monopoly in PC operating systems, partly through some of its practices involving Internet Explorer;
- it reversed the finding of attempted monopolization of the browser market;
- it vacated the finding that tying Windows and Internet Explorer was illegal and sent that question back for a fresh review, under a more detailed analysis of its effects;
- it vacated the remedies, including the break-up, and assigned the case to a different judge.
The federal case ended in a settlement, whose terms the Court of Appeals upheld in 2004 against objections from the State of Massachusetts. Netscape, meanwhile, had changed hands: the 1999 judgment mentions the agreement, concluded at the end of 1998, under which AOL acquired the company for $4.3 billion in stock.
In Europe, the issue came up later and in a different form. On 16 December 2009, the European Commission made Microsoft’s commitments legally binding: for five years, Windows users in the European Economic Area whose default browser was Internet Explorer had to be offered a choice screen listing several browsers. In March 2013, the Commission fined Microsoft €561 million for failing to display that screen in Windows 7 Service Pack 1 between May 2011 and July 2012.
From Netscape to Mozilla: open code, then a new engine
January 1998: free of charge and open source
On 22 January 1998, faced with falling revenue, Netscape announced two decisions. Navigator and Communicator 4.0 would become free for all users, and the source code of the next generation of Communicator would be made available free of charge on the internet, under a licence allowing it to be modified and redistributed. The Mozilla project grew out of that code release in the spring of 1998.
October 1998: starting again with a new engine
The inherited code proved hard to evolve. On 26 October 1998, Brendan Eich published the project’s roadmap: Mozilla now had a “great new layout engine”, NGLayout, and coordinated development of the old layout code would stop immediately. The document explained that the features content authors asked for most, including correct CSS and DOM Level 1, had been hard to deliver on the old code base. That engine would become Gecko.
The gamble cost years. According to Mozilla’s own history, version 1.0 of the Mozilla suite did not appear until 2002. The same year saw the first release of Phoenix, a standalone browser lighter than the full suite. The Mozilla Foundation, an independent non-profit organization, was set up in 2003.
Firefox
On 9 November 2004, the foundation released Firefox 1.0, the final name for Phoenix, for Windows, Mac OS X and Linux. According to Mozilla’s history, it was downloaded more than 100 million times in less than a year. Internet Explorer 6 had no successor at that point: Internet Explorer 7, released in October 2006 for Windows XP, was described by the press as the browser’s first major update in roughly five years.
Firefox stood out less for a technical breakthrough than for a combination: a maintained, open engine, a tabbed interface, pop-up blocking and third-party extensions. The Netscape brand, for its part, faded away. At the end of December 2007, AOL announced that it would end all support for Netscape browsers in early 2008 and encouraged their users to switch to Firefox.
Competition took a new form: standards conformance became a selling point. In March 2005, the Web Standards Project, a group of authors and developers campaigning for web standards, publicized the Acid2 challenge set by Håkon Wium Lie, Opera’s chief technology officer and co-inventor of CSS. The test page combined HTML and CSS rules so that a correct smiling face appeared only in a browser that respected all of them. The test openly targeted Internet Explorer, but every vendor used it as a list of fixes. The history of CSS and that of web standards follow this shift towards shared test suites.
KHTML, WebKit and Safari
Another lineage emerged outside the big companies. KDE, a free desktop environment for Linux and Unix, developed an engine called KHTML for its Konqueror browser. On 7 January 2003, Apple unveiled Safari, its browser for Mac OS X. The press release stated that its rendering engine was based on KHTML, from KDE’s open source Konqueror project, and that Apple would contribute its improvements back to the community.
The early years were tense: KHTML developers complained that Apple delivered its changes in a form that was hard to merge back. On 7 June 2005, Apple opened access to the code repository of WebKit, the name of its engine, along with its bug database. WebKit became a fully fledged open source project that other companies could adopt for their own browsers.
That choice weighed heavily on the mobile Web. App Store rules require apps that browse the Web to use the WebKit framework and its JavaScript engine; they now provide for a specific entitlement to use another engine, limited to the European Union and Japan. On iPhone, a rival browser was therefore for a long time a different interface on top of the same engine.
Chrome: one process per tab
On 2 September 2008, Google released Chrome, presented on its open source blog as an open source browser available in more than 40 languages; its code was published under the project name Chromium. Chrome used WebKit for rendering at the time, but organized it differently. Chromium’s design document starts from an observation: it is nearly impossible to build a rendering engine that never crashes or hangs. Chromium therefore runs web content in separate processes, much as an operating system isolates applications; in general, each new window or tab opens a new process. A crashing tab no longer brings down the whole browser, and a compromised rendering process can reach the network only through Chromium’s network service.
Chrome also arrived with a new JavaScript engine, V8, whose impact on script speed is described in the history of JavaScript. Competition shifted: after the proprietary tags of the 1990s and the conformance race of the 2000s, vendors competed on speed, stability and security.
2013: Blink, and the end of Presto
On 13 February 2013, Opera, which then claimed about 300 million users, announced a gradual move of its browsers to WebKit and Chromium, abandoning its in-house engine, Presto. Håkon Wium Lie explained the decision: it made more sense for Opera’s experts to work with the open source communities to improve WebKit and Chromium.
Seven weeks later, on 3 April 2013, Adam Barth announced on behalf of the Chromium team a new rendering engine, Blink, forked from WebKit. He explained that Chromium used a different multi-process architecture from other WebKit-based browsers, and that supporting several architectures made work harder for both projects. The split made it possible to remove 7 build systems and more than 7,000 files straight away. Barth also made an argument of principle: having several rendering engines, like having several browsers, spurs innovation.
The end of Internet Explorer and the concentration of engines
On 6 December 2018, Joe Belfiore, a Microsoft executive, announced that the company intended to adopt the Chromium open source project for the development of Microsoft Edge on the desktop, the browser that had succeeded Internet Explorer with Windows 10. The stated aim: better web compatibility for users and less fragmentation of the Web for all developers. The argument was the exact opposite of Barth’s five years earlier, and both hold some truth: fewer engines make authors’ work easier, while more engines stop a single player from deciding on its own how the Web behaves.
On 19 May 2021, Microsoft announced the retirement of the Internet Explorer 11 desktop application, effective on 15 June 2022 for the affected versions of Windows 10. An Internet Explorer mode built into Edge, supported until at least 2029, still lets organizations open old business applications designed for it. Twenty-seven years after its first version, the browser that once dominated the Web lives on as a compatibility mode.
Three major engine families are still developed: Blink, in Chrome, Edge, Opera and the other Chromium-based browsers; Gecko, in Firefox; and WebKit, in Safari and, barring exceptions, in every browser on iPhone. Web standards are now written largely to describe what these three engines must do identically.
Example: reading thirty years of competition in a User-Agent string
Edge’s string, piece by piece
MDN gives this example of a User-Agent string sent by Microsoft Edge on Windows:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
It is 125 characters long. Broken down piece by piece, it reads like a set of geological layers:
| Token |
Length |
What it recalls |
Mozilla/5.0 |
11 |
The code name of Netscape’s browser; Microsoft writes that Internet Explorer identifies itself as a Mozilla browser “for historical reasons” |
(Windows NT 10.0; Win64; x64) |
29 |
The operating system and processor |
AppleWebKit/537.36 |
18 |
WebKit, from which Blink has been forked since 2013 |
(KHTML, like Gecko) |
19 |
KHTML, WebKit’s ancestor, and Gecko, Firefox’s engine, with which compatibility is claimed |
Chrome/143.0.0.0 |
16 |
The Chromium version Edge is built on |
Safari/537.36 |
13 |
Claimed compatibility with Safari |
Edg/143.0.0.0 |
13 |
The browser actually in use |
The seven tokens add up to 11 + 29 + 18 + 19 + 16 + 13 + 13 = 119 characters, plus the 6 spaces between them, giving 125. Edge’s own identifier takes up 13 of them, about 10% of the string. The rest names four other browsers or engines, Netscape, KHTML, Gecko and Safari, as well as Chromium, whose code Edge reuses.
Why every browser claims to be another
The mechanism is the one described in the section on the browser wars. As long as servers choose which page to send based on the browser’s name, a newcomer has every reason to borrow the names that trigger the best version. The usual explanation for Mozilla is that sites reserved their richest pages for clients that announced themselves that way. Internet Explorer 9 still sent Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0), where compatible signals, according to Microsoft, compatibility with a common set of features, and Trident names the real engine. Internet Explorer 11 dropped the MSIE token and added like Gecko, to signal, Microsoft writes, greater consistency with other browsers.
Scripts inherited the same phenomenon. The WHATWG HTML standard now requires every browser, whoever makes it, to return these values:
navigator.appCodeName // "Mozilla"
navigator.appName // "Netscape"
navigator.product // "Gecko"
The standard justifies these fixed values by compatibility with existing content, and recommends limiting any detection to known current versions. Microsoft was already advising developers to detect available features rather than the browser.
A string now reduced
The string also raises a privacy issue: when detailed, it helps recognize a device from one site to another. MDN describes the reduction applied by the browsers that use it: in the Android example, the system version is fixed at Android 10, the device model is replaced by K, and only Chrome’s major version numbers are sent, followed by 0.0.0. That is why the Edge example ends in 143.0.0.0. The string keeps all its fossils, but gives away less about the user.
Timeline
| Date |
Event |
Main source |
| Late 1990 |
WorldWideWeb, the first browser, on NeXT |
Tim Berners-Lee, W3C |
| 1992 |
Erwise, ViolaWWW and MidasWWW for X |
W3C timeline |
| 23 January 1993 |
X Mosaic 0.5 announced |
www-talk list |
| 25 February 1993 |
IMG element proposed |
www-talk list |
| September 1993 |
Mosaic for Windows and Macintosh |
W3C timeline |
| March 1994 |
Andreessen and several colleagues leave NCSA |
W3C timeline |
| 4 April 1994 |
Marc Andreessen and Jim Clark found Mosaic Communications, later Netscape |
Computer History Museum |
| 13 October 1994 |
Mosaic Netscape 0.9 beta |
www-talk list |
| December 1994 |
Netscape Navigator 1.0 |
Court’s findings, 1999 |
| July or August 1995 |
Internet Explorer 1.0: July according to the court, August with Microsoft Plus! according to Microsoft |
Court’s findings, 1999; Microsoft |
| August 1996 |
Internet Explorer 3.0, with Windows 95 OSR2 |
Court’s findings, 1999 |
| 30 September 1997 |
Internet Explorer 4.0 |
Microsoft |
| January 1998 |
Netscape made free, source code release announced |
Netscape press release |
| 18 May 1998 |
Lawsuits against Microsoft in the United States |
2001 ruling |
| 26 October 1998 |
Mozilla adopts the new NGLayout engine |
Mozilla roadmap |
| 5 November 1999 |
Judge Jackson’s findings of fact |
Department of Justice |
| 28 June 2001 |
Court of Appeals ruling |
253 F.3d 34 |
| 7 January 2003 |
Safari, based on KHTML |
Apple press release |
| 9 November 2004 |
Firefox 1.0 |
Mozilla Foundation press release |
| March 2005 |
Acid2 challenge |
Web Standards Project |
| 7 June 2005 |
WebKit repository opened |
KDE Dot News |
| October 2006 |
Internet Explorer 7 |
Trade press |
| 2 September 2008 |
Chrome and Chromium |
Google Open Source Blog |
| 16 December 2009 |
Microsoft’s choice screen commitments in Europe |
European Commission |
| 13 February 2013 |
Opera drops Presto |
TechCrunch |
| 3 April 2013 |
Blink announced |
Google Developers Blog |
| 6 December 2018 |
Microsoft announces Edge will adopt Chromium |
Windows Experience Blog |
| 15 June 2022 |
Internet Explorer 11 retired |
Windows Experience Blog |
What this history teaches
Distribution has often mattered more than being first. Mosaic came after other graphical browsers, but it ran on the computers the public actually owned. Internet Explorer caught up with Navigator less through a technical lead than through being free and bundled with Windows. Firefox won ground through voluntary downloads, Chrome through speed and Google’s distribution power. At every stage, the channel through which software reached users counted as much as its qualities.
Compatibility, for its part, was built by accumulation rather than by decree. Quirks modes protect pages tuned to old bugs, User-Agent strings pile up the names of competitors, and recent standards describe precisely how browsers actually behave, down to repairing badly written pages. What looks like disorder is the price of a rule upheld for thirty years: a published page must keep working.
One tension remains unresolved. Each engine costs years of work, and vendors are consolidating: Opera in 2013, Microsoft in 2018. Fewer engines mean fewer differences for page authors to handle; they also mean less of a counterweight when a single project decides how the Web evolves. The debate between Blink’s argument, several engines to drive innovation, and Edge’s, less fragmentation for developers, now continues in standards bodies and shared test suites.
Frequently asked questions
Was Mosaic the first browser?
No. WorldWideWeb, written by Tim Berners-Lee on NeXT at the end of 1990, was already graphical and could edit pages. Erwise and ViolaWWW were released for the X Window System in 1992. Mosaic stood out for showing images within the text and, above all, for its Windows and Macintosh versions, released in September 1993, which put it within reach of the general public.
What is the difference between a browser and a rendering engine?
The browser is the complete piece of software: interface, tab management, bookmarks, networking, security. The rendering engine is the component that turns HTML and CSS into a displayed page. Chrome, Edge and Opera are different browsers that share the Blink engine; Safari uses WebKit and Firefox uses Gecko.
Why do all browsers call themselves “Mozilla”?
Because for a long time websites chose which version of their pages to serve based on the User-Agent string. To receive the same pages as Netscape, whose code name was Mozilla, Internet Explorer and then other browsers adopted that name, before adding KHTML, Gecko or Safari. Microsoft itself puts it down to “historical reasons”, and the HTML standard still fixes navigator.appName as “Netscape”.
Was Microsoft found liable because of Internet Explorer?
Partly. In 2001 the Court of Appeals upheld the finding that Microsoft had illegally maintained its monopoly in PC operating systems, relying in part on practices involving Internet Explorer. It rejected the charge of attempted monopolization of browsers, sent the tying question back for review and overturned the break-up of the company. The case ended in a settlement, upheld on appeal in 2004.
Is Firefox the successor to Netscape?
It descends from it. Netscape released its browser’s source code in 1998, which gave rise to the Mozilla project. Mozilla replaced the old engine with Gecko, released the Mozilla 1.0 suite in 2002, then Firefox 1.0 in 2004, a lighter browser that grew out of Phoenix. AOL, Netscape’s owner, ended support for its browsers in early 2008 and recommended Firefox.
Why did Internet Explorer disappear?
Microsoft replaced it with Edge on Windows 10, then announced at the end of 2018 that Edge would adopt Chromium to improve compatibility and reduce fragmentation of the Web. The Internet Explorer 11 desktop application was retired on 15 June 2022 for the affected versions of Windows 10. An Internet Explorer mode built into Edge, supported until at least 2029, still lets organizations open old business applications.