Trident (software)


Trident is a proprietary browser engine for the Microsoft Windows version of Internet Explorer, developed by Microsoft.
It was first introduced with the release of Internet Explorer version 4.0 in October 1997; it has been steadily upgraded and remains in use today. For versions 7 and 8 of Internet Explorer, Microsoft made significant changes to the Trident layout engine to improve compliance with web standards and add support for new technologies.
In the Microsoft Edge browser, Trident was superseded by its fork, EdgeHTML.

Use in software development

Trident was designed as a software component to allow software developers to easily add web browsing functionality to their own applications. It presents a COM interface for accessing and editing web pages in any COM-supported environment, like C++ and.NET. For instance, a web browser control can be added to a C++ program and Trident can then be used to access the page currently displayed in the web browser and retrieve element values. Events from the web browser control can also be captured. Trident functionality becomes available by linking the file mshtml.dll to the software project.

Release history

Use cases

All versions of Internet Explorer for Windows from 4.0 onwards use Trident, and it is also used by various other web browsers and software components. In Windows 98, Windows Me, and Windows 2000, it is also used for the Windows file manager/shell, Windows Explorer. The Add/Remove Programs tool in Windows 2000 uses Trident to render the list of installed programs, and in Windows XP it is also used for the User Accounts Control Panel, which is an HTML Application. Trident, however, was not used by Internet Explorer for Mac, nor by the early versions of Internet Explorer Mobile.
Some other Trident-based applications include:
Current versions of Trident, as of Internet Explorer 9 have introduced support for CSS 3, HTML5, and SVG, as well as other modern web standards. Web standards compliance was gradually improved with the evolution of Trident. Although each version of IE has improved standards support, including the introduction of a "standards-compliant mode" in version 6, the core standards that are used to build web pages were sometimes implemented in an incomplete fashion. For example, there was no support for the element which is part of the HTML 4.01 standard prior to IE 8. There were also some CSS attributes missing from Trident, like min-height, etc. as of IE 6. As of Internet Explorer 8 CSS 2.1 is fully supported as well as some CSS 3.0 attributes. This lack of standards compliance has been known to cause rendering bugs and lack of support for modern web technologies, which often increases development time for web pages. Still, HTML rendering differences between standards-compliant browsers are not yet completely resolved.

Microsoft alternatives

Apart from Trident, Microsoft also has and uses several other layout engines. One of them, known as Tasman, was used in Internet Explorer 5 for Mac. Development of Internet Explorer for Mac was halted in roughly 2003, but development of Tasman continued to a limited extent, and was later included in Office 2004 for Mac. Office for Mac 2011 uses the open source WebKit engine. Microsoft's now defunct web design product, Expression Web as well as Visual Studio 2008 and later do not use Internet Explorer's Trident engine, but rather a different engine.
In 2014, Trident was forked to create the engine EdgeHTML for Microsoft Edge on Windows 10. The new engine is "designed for interoperability with the modern web" and deprecates or removes a number of legacy components and behaviors, including document modes, ensuring that pure, standards-compliant HTML will render properly in browsers without the need for special considerations by web developers. This resulted in a completely new browser called Microsoft Edge, which replaces Internet Explorer as a stock browser of Windows and a base of Microsoft's web related services.