Ilmu Komputer    
   
Daftar Isi
(Sebelumnya) Comparison of layout engines ( ...Comparison of layout engines ( ... (Berikutnya)

Perbandingan -- layout engines (HTML)

The following tables compare HTML 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.

Only HTML 4 and XHTML 1.0 served as text/html (so called "HTML compatible" XHTML) are considered. XHTML 1.0 Strict is necessarily XHTML 1.1 with fewer elements and attributes deprecated. XHTML 2.0 is not considered as it is a redefinition of XHTML, which is not backward compatible. For more XHTML-related comparisons, please refer to comparison of layout engines (XHTML).

Version number, if possible, is provided for feature that is fully supported (based on HTML 4.01). Proprietary extensions are not included.

W3C deprecated tags and attributes and proprietary tags are compared in comparison of layout engines (Non-standard HTML).

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.

Global structure elements

The global structure of the document.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
Basic structure
html<3.1[IE 5.0]Yes1.0YesYes1.0Yes
head<3.1[IE 4.0]
body
Metadata
title<3.1[IE 4.0]Yes1.0YesYes1.0Yes
meta
Headings
h1<3.1[IE 4.0]Yes1.0YesYes1.0Yes
h2
h3
h4
h5
h6
Grouping elements
div<3.1[IE 4.0]Yes1.0YesYes1.0Yes
span

Text elements

Elements that represent text.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
Phrase
em<3.1[IE 4.0]Yes1.0YesYes1.0Yes
strong
dfn
code
samp
kbd
var
cite
acronym
abbr3.1
Quotations
blockquote<3.1[IE 4.0]Yes1.0YesYes1.0Yes
q4.01.8[note 1]
Subscripts and superscripts
sub<3.1[IE 4.0]Yes1.0YesYes1.0Yes
sup
Lines and paragraphs
p<3.1[IE 4.0]Yes1.0YesYes1.0Yes
pre
br<3.1[IE 5.0]
Marking document changes
ins<3.1[IE 4.0]Yes1.0YesYes1.0Yes
del

List elements

Elements that represent lists of information.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
Unordered and ordered lists
ul<3.1[IE 4.0]Yes1.0YesYes1.0Yes
ol
li
Definition lists
dl<3.1[IE 4.0]Yes1.0YesYes1.0Yes
dt
dd

Table elements

Elements that represent tabular information.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
Basic table elements
table<3.1[IE 4.0]Yes1.0YesYes1.0Yes
caption
tr
th
td
Row groups
thead<3.1[IE 4.0]Yes1.0YesYes1.0Yes
tbody
tfoot?
Column groups
colgroup<3.1[IE 4.0]?1.0YesYes1.0Yes
col

Link elements

Hyperlinks, one of the primary forces driving the success of the World Wide Web.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
a<3.1[IE 4.0]Yes1.0YesYes1.0Yes
link
base

Multimedia elements

Multimedia features including images, applets, video clips, and other HTML documents.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
Images
img<3.1[IE 4.0]Yes1.0YesYes1.0Yes
Generic inclusion
object4.0[note 2]Yes1.0YesYes1.0Yes
param<3.1[IE 6.0]
Image maps
map<3.1[IE 4.0]Yes1.0YesYes1.0Yes
area5.0

Frame elements

Elements to present documents in multiple views, which may be independent windows or subwindows. Frame layout is only available in the frameset profiles. All frames are not available in XHTML 1.1 (use generic object elements instead for inline frames).

TridentTasmanGeckoWebKitKHTMLPrestoiCab
Frame layout
frameset<3.1[IE 4.0]Yes1.0YesYes1.0Yes
frame
noframes
Inline frames
iframe<3.1[IE 4.0]Yes1.0YesYes1.0Yes

Form elements

The user interface controls for interacting with the web server.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
Basic structure
form<3.1[IE 4.0]Yes1.0YesYes1.0Yes
fieldset
legend
Form controls and labels
button<3.1[IE 4.0]

[note 3]

Yes1.0YesYes1.0Yes
textarea<3.1[IE 4.0]
input
label3.4.2[note 4]
List boxes (combo boxes)
select<3.1[IE 4.0]Yes1.0YesYes1.0Yes
optgroup
option

Presentational elements

Elements that specify presentational information. Although not all elements are deprecated, their use is discouraged in favor of stylesheets. Deprecated elements are not available in the strict profiles and XHTML 1.1.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
Font styles
b<3.1[IE 4.0]Yes1.0YesYes1.0Yes
i
big
small
tt
Horizontal rules
hr<3.1[IE 4.0]Yes1.0YesYes1.0Yes

Stylesheet elements

The ways to apply stylesheets (CSS) to the document.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
<link rel="style" … /><3.1[IE 4.0]Yes1.0YesYes1.0Yes
style6.0[note 5]

Script elements

Elements for embedding client-side script (JavaScript). See also DOM Events for a list of attributes used to attach an event handler to an element.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
script<3.1[IE 5.0]Yes1.0YesYes1.0Yes
noscriptIncorrect[note 6]

Language elements

Elements related to language information.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
bdo<3.1[IE 5.0]?1.0YesPartial[note 7]1.0?

Generic attributes

Attributes that can be used in any elements.

TridentTasmanGeckoWebKitKHTMLPrestoiCab
Element identifiers
id<3.1[IE 3.0]Yes1.0YesYes1.0Yes
class
Inline styles
style<3.1[IE 3.0]Yes1.0YesYes1.0Yes
Advisory information
title<3.1[IE 4.0]Yes1.0YesYes1.0Yes
Language information
lang<3.1[IE 4.0]Yes1.0YesYes1.0Yes
dir<3.1[IE 5.0]

Notes

  1. ^ <q> does not support nested quotes prior to Gecko 1.8.[1]
  2. ^ For images, a frame will be added to the object. Other content types are not supported and the element is incorrectly implemented as an ActiveX wrapper. Nested objects fallback mechanism is not supported prior to version 7.[2]
  3. ^ Prior to Internet Explorer 8.0 (trident 4.0), and in earlier compatibility modes, the innerText is submitted instead of the value attribute.[3]
  4. ^ <label> was focusable prior to KHTML 3.4.2.[citation needed]
  5. ^ Internet Explorer 9 (trident 5.0) and earlier is limited to 31 <style> elements.[4][5]
  6. ^ Trident doesn't hide CSS backgrounds and borders on a <noscript> element when scripting is enabled[citation needed].
  7. ^ While alphabetic and alphanumeric words are affected, numeric (numbers only) words are not.[citation needed]

References

External links

(Sebelumnya) Comparison of layout engines ( ...Comparison of layout engines ( ... (Berikutnya)