Trident (software)

Print Print
Reading time 10:1

Initial releaseAugust 1997; 23 years ago (1997-08)
Final release
Written inC++[1]
Operating systemMicrosoft Windows
TypeBrowser engine

Trident (also known as MSHTML) is a proprietary browser engine for the Microsoft Windows version of Internet Explorer, developed by Microsoft.

Trident debuted with the release of Internet Explorer 4 in 1997. For versions 7 and 8 of Internet Explorer, Microsoft made significant changes to Trident's layout capabilities to improve compliance with Web standards and add support for new technologies.[2][3][4]

Since Internet Explorer 11 continues to receive security updates,[5] Trident still gets basic maintenance. However, this does not include adding support for new Web standards.

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

Trident version MSHTML.dll version Internet Explorer version Internet Explorer Mobile version Notes
No version[6] 4.0.x 4.0 N/A Initial version.
5.0.x 5.0 N/A Improved CSS 1 support and had sweeping changes in CSS 2 rendering.
5.5.x 5.5 N/A Corrected issues with CSS handling.
6.0.x 6.0 N/A Corrected the box model and added quirks mode with DTD switching.
7.0.x 7.0 N/A Fixed many CSS rendering issues and added partial PNG alpha support.
N/A N/A 6.0 IEMobile 6 combines many features of IE 6, 7, and 8.[7]
3.1[8][9] 7.0 N/A 7.0 Second port on a mobile system of Trident. IE Mobile version for Windows Phone 7.
4.0[10] 8.0.x 8.0 N/A First version to pass the Acid 2 test.[11] Added full support for CSS 2.1.[12]
5.0[13] 9.0.x 9.0 9.0 Added support for SVG, XHTML, HTML5, and CSS 3. Added a new hardware-accelerated JScript engine named Chakra. Scores 100/100 on the Acid3 test. Included with IE 9 Mobile in Windows Phone 7.5 "Mango".
6.0[14] 10.0.x 10.0 10.0[15] More support for CSS 3, HTML5 and ES5. Included in Windows Phone 8. Support for linear gradient CSS transitions.[16]
7.0 11.0.x 11.0 11.0 Support for WebGL and SPDY. Improved support for HTML5.[17] Speed improvement.[18] Included in Windows Phone 8.1.
8.0 11.0.x (Compat) 11.0 11.0 Compatibility view of Win10 with Internet Explorer 11

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 (see Internet Explorer shells). In Windows 98, Windows Me, and Windows 2000, it is also used for the Windows file manager/shell, Windows Explorer.[19] The Add/Remove Programs tool in Windows 2000 uses Trident to render the list of installed programs,[20] and in Windows XP it is also used for the User Accounts Control Panel, which is an HTML Application.[21] Trident, however, was not used by Internet Explorer for Mac (which used Tasman starting with version 5.0), nor by the early versions of Internet Explorer Mobile.

Some other Trident-based applications include:

  • AOL Explorer, a web browser
  • AOL Instant Messenger 6.x, which uses Trident to render conversation and profile windows, and advertisement panels
  • Avant Browser
  • Bento Browser (built into Winamp)
  • EA Link, incompatible with Trident as of Internet Explorer 7 RC2
  • Flashpoint Secure Player, uses Trident to run ActiveX based web games
  • Google Talk, which used Trident to render chat windows and profile cards
  • GreenBrowser, which is also presented at the page
  • IE Tab, a Firefox and Google Chrome add-on used to render pages with Trident within the Firefox or Chrome user interface.
  • Impulse (content delivery), uses Trident to render "Explore" page, as well as several of the "Community" pages
  • LimeWire, which renders the page 'New@Lime'
  • Lunascape, developed by Lunascape Corporation
  • Maxthon, which uses the Trident engine while adding features not built into IE7
  • MediaBrowser, customized browsers, especially for Nintendo
  • MenuBox, a web browser
  • Microsoft Compiled HTML Help
  • Microsoft Encarta and related products
  • Microsoft InfoPath
  • Microsoft Outlook which uses Trident to render HTML Messages (prior to Outlook 2007) and the "Outlook Today" screen
  • Microsoft Outlook Express, which uses Trident to render HTML Messages
  • Microsoft Visual InterDev 6 uses Trident in editing mode as visual HTML designer
  • Microsoft Visual Studio 2002-2005 use Trident in editing mode to provide visual ASP.NET/HTML designer
  • Microsoft Visual Studio and Visual Basic to render the WebBrowser control
  • MSN Messenger, which uses it to produce Flash-based "winks" and games, and for all advertisements shown in the advertisement banner
  • NeoPlanet, a web browser
  • NetCaptor, a web browser
  • Netscape Browser (Netscape 8), which used Trident to render web pages in IE mode
  • Pyjs, a python Widget set Toolkit. Embedding IWebBrowser2 as an Active-X component and accessing the COM interface, Pyjs uses Trident for the Desktop version, through the python win32 "comtypes" library.
  • Phoenix Browser, a lightweight web browser
  • RealNetworks
  • Sleipnir, a web browser
  • SlimBrowser, a web browser
  • Skype, software for VoIP that renders HTML data with Trident
  • Tencent Traveler, a web browser
  • ThreeTeeth Browser, a lightweight web browser
  • UltraBrowser, a web browser
  • Valve's Steam client, previous versions of which used Trident to render the "Store", "Update News" and "Community" sections as well as the Steam in-game browser and MOTD screens in Valve games. The Steam client was updated to use WebKit instead of Trident for these features. Then was updated further to use the Chromium Embedded Framework.[citation needed]
  • WebbIE, a web browser
  • Windows Live Writer, which uses Trident for its editor
  • Windows Media Player, which uses Trident to render the "Media Information" pages
  • 360 Secure Browser, a web browser in China

Standards compliance

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 (HTML and CSS) were sometimes implemented in an incomplete fashion. For example, there was no support for the <abbr> 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.[12] 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.[22] 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.[23]

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.[24][25] This resulted in a completely new browser called Microsoft Edge (now referred to as "Microsoft Edge Legacy"[26]), which replaced Internet Explorer as a stock browser of Windows and a base of Microsoft's web related services until its replacement with a Blink[27] and Chromium[28] based Microsoft Edge[29] in late 2020.

See also

  • Comparison of browser engines


  1. ^ Hachamovitch, Dean (2007-12-14), Internet Explorer 8 and Acid2: A Milestone, Microsoft
  2. ^ "Details on our CSS changes for IE7". Retrieved 2010-02-23.
  3. ^ "Overview of Platform Improvements in IE8 RC1". Retrieved 2010-02-23.
  4. ^ "Microsoft's Interoperability Principles and IE8". Retrieved 2010-02-23.
  5. ^ "Lifecycle FAQ – Internet Explorer and Microsoft Edge – Microsoft Lifecycle". Retrieved August 30, 2020.
  6. ^ Lawrence, Eric (2010-03-24), re: Introducing IE9’s User Agent String, Microsoft
  7. ^ Cox, John (2008-12-21), Microsoft Tackles the Mobile Browser, PC World, retrieved 2010-04-08
  8. ^ Warren, Tom (2010-03-16), Windows Phone 7 browser is based on Internet Explorer 7, Neowin, retrieved 2010-03-16
  9. ^ Marini, Joe (2010-03-25), Ladies and Gentlemen, Please Welcome... the IE Mobile User Agent String!, Microsoft
  10. ^ Lawrence, Eric (2009-01-09), The Internet Explorer 8 User-Agent String (Updated Edition), Microsoft
  11. ^ Hachamovitch, Dean (2007-12-19), Internet Explorer 8 and Acid2: A Milestone, Microsoft
  12. ^ a b "CSS Compatibility and Internet Explorer". Retrieved 2008-10-05.
  13. ^ Silbey, Marc (2010-03-23), Introducing IE9’s User Agent String, Microsoft
  14. ^ Ross, Tony (2011-04-15), The IE10 User-Agent String, Microsoft
  15. ^ Windows Phone 8: Internet Explorer 10 Detailed
  16. ^ "The State of Changing Gradients with CSS Transitions and Animations",, published June 1st 2018
  17. ^ ExtremTech: Windows 8.1 and Internet Explorer 11 will support WebGL, SPDY, but no WebRTC
  18. ^ NDTV Gadgets: Internet Explorer 11 for Windows 7 launched: Brings improved rendering, speed
  19. ^ "How to Add or Remove Windows Desktop Update". Retrieved 2011-12-03.
  20. ^ "Add/Remove Programs tool displays installed programs incorrectly". Retrieved 2011-12-03.
  21. ^ "Internet Explorer Script Error error message when you click User Accounts in Control Panel many times in quick succession on a Windows XP-based computer". Retrieved 2011-12-03.
  22. ^ "Microsoft's Internet Explorer Slows Down Web Development". Retrieved 2010-07-27.
  23. ^ Mauceri, Rob (April 16, 2007). "Office Live and SharePoint". Microsoft SharePoint Designer Team Blog. Microsoft. Retrieved August 23, 2010. SharePoint Designer doesn't use Trident. SharePoint Designer, Expression Web, and the next version of Visual Studio's Visual Web Designer (code name Orcas) all use the same standards-based web design component. This component was developed jointly by the three product teams for high fidelity rendering of web standards like CSS, XHTML, as well as
  24. ^ "Living on the Edge – our next step in helping the web just work". IEBlog. Microsoft. Retrieved 23 January 2015.
  25. ^ "Project Spartan and the Windows 10 January Preview Build". IEBlog. Microsoft. Retrieved 23 January 2015.
  26. ^ "Microsoft 365 apps and services to end support for IE 11; End of support coming to the legacy version of Microsoft Edge". Microsoft Docs. 18 August 2020. Retrieved 30 January 2020.
  27. ^ "Blink (browser engine)", Wikipedia, 2021-01-08, retrieved 2021-01-31
  28. ^ "Chromium", Wikipedia, 2021-01-16, retrieved 2021-01-31
  29. ^ Hollister, Sean (2 July 2020). "With Edge, Microsoft's forced Windows updates just sank to a new low". The Verge. Retrieved 30 January 2021.

Edited: 2021-06-18 12:39:10