World Library  
Flag as Inappropriate
Email this Article

Trident (layout engine)


Trident (layout engine)

Developer(s) Microsoft
Written in C++[1]
Type Application framework, software component
License Proprietary
Website .aspx/aa741317/library/

Trident (also known as MSHTML[note 1]) is a proprietary layout 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.[2][3][4] Since then, Microsoft intends to comply with many modern web standards , and also intends to significantly update the layout engine to be more competitive and modern compared to other current layout engines.

In the Microsoft Edge browser, Trident is superseded by its fork – EdgeHTML.[5]


  • Use in software development 1
  • Use cases 2
  • Standards compliance 3
  • Microsoft alternatives 4
  • See also 5
  • Notes 6
  • References 7
  • External links 8

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.

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.[6] The Add/Remove Programs tool in Windows 2000 uses Trident to render the list of installed programs,[7] and in Windows XP it is also used for the User Accounts Control Panel, which is an HTML Application.[8] 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:

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 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.[9] 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.[10] Still rendering differences of HTML between standards-compliant browsers are not completely resolved yet.

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.[11]

In 2014, Trident was forked to create an engine referred to internally as "EdgeHTML" 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.[12][13] 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.

See also


  1. ^ An abbreviation for Microsoft and HTML


  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. ^
  6. ^ "How to Add or Remove Windows Desktop Update". Retrieved 2011-12-03. 
  7. ^ "Add/Remove Programs tool displays installed programs incorrectly". Retrieved 2011-12-03. 
  8. ^ "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. 
  9. ^ "CSS Compatibility and Internet Explorer". Retrieved 2008-10-05. 
  10. ^ "Microsoft’s Internet Explorer Slows Down Web Development". Retrieved 2010-07-27. 
  11. ^ 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 
  12. ^ "Living on the Edge – our next step in helping the web just work". IEBlog. Microsoft. Retrieved 23 January 2015. 
  13. ^ "Project Spartan and the Windows 10 January Preview Build". IEBlog. Microsoft. Retrieved 23 January 2015. 

External links

  • MSDN - MSHTML Reference
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.