Informatika    
   
Daftar Isi
(Sebelumnya) Comparison of layout engines ( ...Comparison of layout engines ( ... (Berikutnya)

Perbandingan -- layout engines (non-standard HTML)

The following tables compare deprecated and proprietary HTML elements and attributes compatibility and support for a number of layout engines. Please see the individual products' articles for further information. This article is not all-inclusive or necessarily up-to-date. Unless otherwise specified in footnotes, comparisons are based on the stable versions without any add-ons, extensions or external programs.

In the early years of the World Wide Web, the standards which today are used in most web browsers and web pages were mostly non-existent. Different browsers and HTML editors were being offered by competing vendors such as Netscape, Microsoft and WebTV, all of whom had their own ideas for how web sites should be constructed. These varying features resulted in web developers coding for specific web browsers, using elements which could often be recognized by only one browser.

The WebTV and IBM WebExplorer inventions have never seen adoption by mainstream browsers.

Contents

Explanation of the tables

Engine nomenclature

Rather than the names of web browsers, the names of the underlying engines are used. The browsers that use the various engines are listed below.

Layout engineRelease versionPreview versionUsed by
Amaya11.3.111.3-preAmaya
Gecko19.020.0All Mozilla software, including Firefox; SeaMonkey and Galeon; Camino; K-Meleon; Flock (up to 2.x); Debian IceWeasel; GNU IceCat (formerly GNU IceWeasel); Icedove, Iceape and Iceowl; Fennec. Also used by the Maple platform in 2010 and 2011 Samsung "SmartTV" devices which are based on the build used in Firefox 3.0.
KHTML N/AKonqueror
Presto2.10.2292.10.238Opera; Opera Mobile, Nintendo DS & DSi Browser; Internet Channel
Tasman(IE 5.2.3 for Mac)none (aborted in 2003)Internet Explorer 5+ for Mac OS X
Trident6.0 (IE 10)6.0 (IE 10)Internet Explorer and other Internet Explorer shells like Maxthon (Microsoft Windows operating systems only), Windows Phone 8
WebKit534.20r146740Tizen (both OS and browser), Safari (both desktop and mobile), Google Chrome, Maxthon 3, Shiira, iCab 4, OmniWeb 5.5+, Web, Adobe AIR, Midori, Adobe Dreamweaver CS4 and CS5, Android browser, Palm webOS browser, Symbian S60 browser, OWB, Steam, Rekonq, Arora, Flock (version 3+), RockMelt, Dolphin Browser, Sleipnir, Konqueror, rekonq. Used by the LG Smart TV platform to enable web content on TVs.

In Konqueror, the user can switch layout engine.

Values

Values indicate the level of support in the most recent version of the layout engine, or (if a version number is given) in the specified version. Version numbers without any other value indicate the version at which the layout engine first fully supported the feature.

ValueMeaning
YesIndicates that the layout engine fully supports this property/element when valid values are used.
NoIndicates that the property/element is completely ignored.
PartialIndicates that the property/element is understood, but that not all values are supported. Supported values are implemented correctly.
IncorrectIndicates that the property/element is understood, but that it is not implemented correctly in all cases.
ExperimentalIndicates that the property/element is understood, but supported under an alternate name. May be incomplete or buggy.
DroppedIndicates that the property/element is no longer supported.
Nightly buildIndicates that the property/element is supported to some extent in an experimental/nightly build. Future support is expected.
DependsIndicates that the property/element is supported only on certain platforms, or if certain settings are configured.

Deprecated HTML elements

ElementFunctionSupported first byDeprecated in HTML versionAlternative solutionTridentGeckoWebKitKHTMLPresto
appletInsert an appletHotJava4[1]embed, object<3.1[IE 4.0]1.7YesYes1.0
basefontSets font stylesInternet Explorer4CSS<3.1[IE 3.0]No[2]85Yes
centerCenters contentsNetscape[3]4CSS3.1YesYes
dirDirectory list ?4ul, ol
fontApplies font stylesNetscape4CSS
isindex[4]Adds a search field ?4input type="search"<3.1[IE 5.5]1.7312Partial
listingDisplays preformatted textIETF2pre, samp, code, CSS3.11253.3Yes
menuMenu list ?4ul, olYesYesYes
plaintextDesignates that all HTML be ignored, and to display the page as is ?3.2The text/plain MIME type
sStrike-through ?4del, CSS<3.1[IE 4.0]1.71.0
strikeStrike-through ?4del, CSS
uUnderline ?4CSS
xmpSimilar to pre and plaintext, but ignores all HTML within and displays as is ?2pre, samp, code<3.1[IE 3.0]1253.3

Deprecated HTML attributes

AttributeElementAlternative solutionTridentGeckoWebKitKHTMLPresto
aligncaption, div, fieldset, h1, h2, h3, h4, h5, h6, hr, img, input, legend, p, object, tableCSS3.1YesYesYesYes
alinkbodyCSSNo
backgroundbodyCSSYes
bgcolorbody, table, tr, td, thCSS
borderimg, objectCSSPartial[note 1]
clearbrCSSNo
compactdl, ul, olCSSNoNo
colorbasefont, fontCSS3.1Partial[note 2][2]Partial[note 2]
heighttd, thCSSYesYes
hspaceimg, objectCSS
languagescriptThe type attributeNo[citation needed]
linkbodyCSSYes
noshadehrCSS
nowraptd, thCSS
sizebasefont, font, hrCSS
startolNone
textbodyCSS
typeli, ul, olCSS
versionhtmlDTDNoNoNoNoNo
vlinkbodyCSSYesYesYesYesYes
widthhr, pre, td, thCSS
vspaceimg, objectCSS

Proprietary HTML elements

TagFunctionSupported first byAlternative solutionTridentGeckoWebKitKHTMLPresto
bgsoundUsed to add sound to the background of a websiteInternet Exploreraudio<3.1[IE 3.0]NoNoNoDropped[5]
blinkUsed to display a blinking textNetscapeJavascript, CSSNo1.7NoNo1.0
bqUsed to display a blockquoteWebTV, HTML 3.0blockquoteNoNoNoNoDropped[6]
commentUsed to allow the addition of comments to HTML documentsInternet Explorer, WebTV<!-- ... -->3.1NoNoNoNo
ilayerInline layersNetscape (4 only)iframeNoNoNoPartialNo
imageSynonym of img ?img3.1YesYesYesYes
layerUsed to create multiple layers of text and images which lay on top of each other in a given orderNetscape (4 only)CSS, AJAXNoNoNoPartialNo
marqueeUsed to display a scrolling, marquee-like text.Internet Explorer, WebTVJavaScript, CSS33.11.71253.31.0
nobrPrevents any line breaks from occurring within the flow of a textNetscape[7][8]CSS3.1YesYesYesYes
noembedDisplays an alternative text for browsers which do not recognize the embed tagNetscapeChild elements of object used as fallback
spacerAdds whitespace in a layoutNetscapeCSSNoDropped[9]NoNoNo
wbrPlaced inside a nobr element to add a line breakNetscape[10][11]Unicode character zero-width space (U+200B)Dropped[note 3]1.7Yes3.1No
xml[13]Delimits an XML data island inside an HTML pageInternet Explorer ?3.1NoNoNoNo

Proprietary HTML attributes

AttributeDeprecated forFunctionSupported first byTridentGeckoWebKitKHTMLPresto
bgpropertiesbodyDetermines whether background image scrolls with the backgroundInternet Explorer3.1NoYesYesNo
bordercolorbodySets colors for 3-D table borders in the table, td, th, and tr elementsInternet ExplorerNoYesYesNo
bordercolordarkbodySets colors for 3-D table borders in the table, td, th, and tr elementsInternet ExplorerNoNoNoNo
bordercolorlightbodySets colors for 3-D table borders in the table, td, th, and tr elementsInternet Explorer
controlsimgUses the img element to place video or audio clipsInternet ExplorerNoNoNoNo
dynsrcimgUses the img element to place video or audio clipsInternet ExplorerNoNoNoNo
eventscriptDefines function to call for an object.Internet ExplorerPartial ? ? ?
forscriptDefines the object to bind a scripting event.Internet ExplorerPartial ? ? ?
frametableControls the display of the outer borders of a table in the table tagInternet ExplorerYes ?YesNo
framespacingframesetSets the amount of space between framesInternet Explorer ? ?NoNo
leftmarginbodySets the margin between the browser window and the contents of the pageInternet Explorer3.1 ? ?YesNo
loopimgUses the img element to place video or audio clipsInternet ExplorerNoNoNoNo
rightmarginbodySets the margin between the browser window and the contents of the pageInternet Explorer3.1 ? ?NoNo
startimgUses the img element to place video or audio clipsInternet ExplorerNoNoNoNo
targetformSpecifies a target window or frame for the output of a formInternet ExplorerNo[14] ?YesNo
valigncaptionSets vertical alignment of table captionInternet Explorer3.1 ? ?NoNo

See also

Notes

  1. ^ Supported for only img.
  2. ^ a b Supported for only font.
  3. ^ Trident dropped support for wbr in version 5.0.[12]

References

  1. ^ HTML 4 Changes, W3C, 1997-12-18, http://www.w3.org/TR/REC-html40/appen dix/changes.html#h-A.3.1, retrieved 2008-05-07
  2. ^ a b Bug 3875 - (basefont) deprecated basefont element not supported, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=3875
  3. ^ HTML 3.2 Reference Specification, W3C, 1997-01-14, http://www.w3.org/TR/REC-html32.html# center, retrieved 2008-10-08
  4. ^ Isindex Example, http://obscuretags.com/isindex.html, retrieved 2008-05-07
  5. ^ Tommy A. Olsen (28 November 2011). "Opera Desktop Team - Glyphs and plugins". http://my.opera.com/desktopteam/blog/ 2011/11/28/glyphs-and-plugins. Retrieved 28 November 2011. "CORE-34613 Drop support for <bgsound>"
  6. ^ gsnedders (9 September 2010). "IRC logs: freenode / #whatwg / 2010-09-09". http://krijnhoetmer.nl/irc-logs/whatw g/20100909#l-756. Retrieved 9 September 2010. "# [17:27] <gsnedders> I know we dropped support for the bq element :P"
  7. ^ "Complete Daftar/Tabel -- HTML Tags". http://www.citycat.ru/doc/HTML/IExplo rer.30/ie30html.htm. Retrieved 10 October 2011.
  8. ^ "Extensions to HTML". Netscape. 1994. http://home.mcom.com/home/services_do cs/html-extensions.html. Retrieved 10 October 2011.
  9. ^ Bug 531056 - [HTML5] Remove spacer support, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=531056
  10. ^ "Complete Daftar/Tabel -- HTML Tags". http://www.citycat.ru/doc/HTML/IExplo rer.30/ie30html.htm. Retrieved 10 October 2011.
  11. ^ "Extensions to HTML". Netscape. 1994. http://home.mcom.com/home/services_do cs/html-extensions.html. Retrieved 10 October 2011.
  12. ^ (in German) Zeilenumbruch erlauben, Impressum, http://de.selfhtml.org/html/text/zeil enumbruch.htm#erlauben
  13. ^ XML Element | xml Object, Microsoft, http://msdn.microsoft.com/en-us/libra ry/ms535918(v=vs.85).aspx
  14. ^ Bug 207900 - psychotekk.de - the target attribute in the form element is ignored, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=207900
(Sebelumnya) Comparison of layout engines ( ...Comparison of layout engines ( ... (Berikutnya)