世界四大浏览器引擎
<div class="showContent">
<div><font color="#006400" size="2">笔记: 各项目测试必测的四大浏览器引擎<br></font>下面五款浏览器是必测的,当然四种引擎并不仅限于这五款,只是这五款浏览器是四大引擎的代表。<br>不同浏览器获取对象的方式可能会有所区别,所以造成浏览器之间的兼容性问题<br>比如经常用到的例子吧,其根据ID来获取对象方式是不同的,这个以后要好好研究研究。<br>如<br> if (document.getElementById) // standard IE<br> {<br> document.getElementById(element).style.visibility = status;<br> }<br> else if (document.all) // old IE<br> { <br> document.all.style.visibility = status;<br> }<br> else if (document.layers) // Netscape 4<br> { <br> document.layers.visibility = status;<br> }<br><font color="#006400" size="2"><br><br>我们经常和浏览器打交道的,就觉得好郁闷,为什么不统一一下呢,搞一个国际标准,每次要解决浏览器兼容性的问题是相当讨厌的。。。哎。。。<br><br>1、Trident</font></div>
<div><font color="#006400" size="2"> Trident
(又称为MSHTML),是微软的窗口操作系统(Windows)搭载的网页浏览器—Internet
Explorer的排版引擎的名称,它的第一个版本随着1997年10月Internet
Explorer第四版释出,之后不断的加入新的技术并随着新版本的Internet Explorer释出。在未来最新的Internet
Explorer第七版中,微软将对Trident排版引擎做了的重大的变动,除了加入新的技术之外,并增加对网页标准的支持。尽管这些变动已经在相当大的程度上落后了其它的排版引擎,如Gecko、WebCore、KHTML及Presto。</font></div>
<div> </div>
<div><font size="2">Internet Explorer系列 </font><a href="http://www.microsoft.com/china/windows/downloads/ie/getitnow.mspx"><font size="2"><img style="width: 75px; height: 75px;" alt="" src="http://img1.51cto.comhttp://blog.chinaunix.net/attachment/200802/200802201203487077812.jpg" target="_blank" border="0"></font></a></div>
<div><br><br></div>
<div target="_blank"> </div>
<div target="_blank"><font color="#006400" size="2">2、Gecko</font></div>
<div target="_blank"><font color="#006400" size="2">
壁虎,英文为"Gecko"。Gecko是由Mozilla基金会开发的布局引擎的名字。它原本叫作NGLayout。Gecko的作用是读取诸如HTML、CSS、XUL和JavaScript等的网页内容,并呈现到用户屏幕或打印出来。Gecko已经被许多应用程序所使用,包括若干浏览器,例如Firefox、Mozilla
Suite、Camino等等。</font></div>
<div target="_blank"> </div>
<div target="_blank"><font size="2"> <font size="3"> </font></font><font size="2"><font size="3"> </font> </font></div>
<div><font size="2">火狐浏览器 Firefox <a href="http://www.mozillaonline.com/" target="_blank"><img style="width: 75px; height: 75px;" alt="" src="http://img1.51cto.comhttp://blog.chinaunix.net/attachment/200802/200802201203490882906.gif" border="0"></a></font><a href="http://www.mozillaonline.com/"><font size="2"></font></a></div>
<br><br>Google Chrome <img style="width: 75px; height: 74px;" src="http://imgsrc.baidu.com/baike/pic/item/8cf0d513a67b9576dd5401a2.jpg"><img src="file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot.png" alt=""><div> </div>
<div><font color="#006400" size="2">3、Presto</font></div>
<div><font color="#006400" size="2"> Presto是一个由Opera Software开发的浏览器排版引擎,供Opera
7.0及以上使用。Presto取代了旧版Opera
4至6版本使用的Elektra排版引擎,包括加入动态功能,例如网页或其部分可随着DOM及Script语法的事件而重新排版。Presto在推出后不断有更新版本推出,使不少错误得以修正,以及阅读Javascript效能得以最佳化,并成为速度最快的引擎。</font></div>
<div> <font size="2"> </font><br></div>
<div><font size="2"><font color="#000000">opera </font> <a href="http://www.opera-china.com/" target="_blank"><img style="width: 75px; height: 75px;" alt="" src="http://img1.51cto.comhttp://blog.chinaunix.net/attachment/200802/200802201203492340203.png" border="0"></a></font></div>
<div> </div>
<div> </div>
<div><font color="#006400" size="2">4、KHTML</font></div>
<div><font color="#006400" size="2">
是HTML网页排版引擎之一,由KDE所开发。KDE系统自KDE2版起,在档案及网页浏览器使用了KHTML引擎。该引擎以C++编程语言所写,并以LGPL授权,支援大多数网页浏览标准。由于微软的Internet
Explorer的占有率相当高,不少以FrontPage制作的网页均包含只有IE才能读取的非标准语法,为了使KHTML引擎可呈现的网页达到最多,部分IE专属的语法也一并支援。</font></div>
<div> <font size="2"> <font color="#ff0000"> <font size="3"> <br></font></font></font></div>
<div><font color="#000000"><font size="2">苹果浏览器 Safari <a href="http://www.safaricn.com/" target="_blank"><img style="width: 74px; height: 77px;" alt="" src="http://img1.51cto.comhttp://blog.chinaunix.net/attachment/200802/200802201203492914328.png" border="0"></a></font></font></div></div>
页:
[1]