Srovnání verzí HTML
1.0 | 2.0 | 3.2 | 4.01* | ISO*
|
A | A | A | A | A
|
href | href | href | href | href
|
methods | methods | methods | methods | methods
|
name | name | name | name | name
|
rel | rel | rel | rel | rel
|
rev | rev | rev | rev | rev
|
title | title | title | title | title
|
urn | urn | urn | urn | urn
|
| | | accesskey | accesskey
|
| | | coords | coords
|
| | | hreflang | hreflang
|
| | | charset | charset
|
| | | onblur | onblur
|
| | | onfocus | onfocus
|
| | | shape | shape
|
| | | tabindex | tabindex
|
| | | target | target
|
| | | type | type
|
ADDRESS | ADDRESS | ADDRESS | ADDRESS | ADDRESS
|
B | B | B | B | B
|
BASE | BASE | BASE | BASE | BASE
|
href | href | href | href | href
|
| | | target | target
|
BLOCKQUOTE | BLOCKQUOTE | BLOCKQUOTE | BLOCKQUOTE | BLOCKQUOTE
|
| | | cite | cite
|
BODY | BODY | BODY | BODY | BODY
|
| | alink | alink | alink
|
| | background | background | background
|
| | bgcolor | bgcolor | bgcolor
|
| | link | link | link
|
| | text | text | text
|
| | vlink | vlink | vlink
|
| | | onload | onload
|
| | | onunload | onunload
|
CITE | CITE | CITE | CITE | CITE
|
CODE | CODE | CODE | CODE | CODE
|
DD | DD | DD | DD | DD
|
DFN | DFN | DFN | DFN | DFN
|
DIR | DIR | DIR | DIR | DIR
|
compact | compact | compact | compact | compact
|
DL | DL | DL | DL | DL
|
| compact | compact | compact | compact
|
DT | DT | DT | DT | DT
|
EM | EM | EM | EM | EM
|
H1 | H1 | H1 | H1 | H1
|
| | align | align | align
|
H2 | H2 | H2 | H2 | H2
|
| | align | align | align
|
H3 | H3 | H3 | H3 | H3
|
| | align | align | align
|
H4 | H4 | H4 | H4 | H4
|
| | align | align | align
|
H5 | H5 | H5 | H5 | H5
|
| | align | align | align
|
H6 | H6 | H6 | H6 | H6
|
| | align | align | align
|
HEAD | HEAD | HEAD | HEAD | HEAD
|
| | | profile | profile
|
HTML | HTML | HTML | HTML | HTML
|
| version | version | version | version
|
I | I | I | I | I
|
IMG | IMG | IMG | IMG | IMG
|
src | src | src | src | src
|
| align | align | align | align
|
| alt | alt | alt | alt
|
| ismap | ismap | ismap | ismap
|
| | border | border | border
|
| | height | height | height
|
| | hspace | hspace | hspace
|
| | usemap | usemap | usemap
|
| | vspace | vspace | vspace
|
| | width | width | width
|
| | | longdesc | longdesc
|
| | | name | name
|
ISINDEX | ISINDEX | ISINDEX | ISINDEX | ISINDEX
|
| | prompt | prompt | prompt
|
KBD | KBD | KBD | KBD | KBD
|
KEY | KEY | KEY | KEY | KEY
|
LI | LI | LI | LI | LI
|
| | type | type | type
|
| | value | value | value
|
LINK | LINK | LINK | LINK | LINK
|
href | href | href | href | href
|
methods | methods | methods | methods | methods
|
name | name | name | name | name
|
rel | rel | rel | rel | rel
|
rev | rev | rev | rev | rev
|
title | title | title | title | title
|
urn | urn | urn | urn | urn
|
| | | hreflang | hreflang
|
| | | charset | charset
|
| | | media | media
|
| | | target | target
|
| | | type | type
|
LISTING | LISTING | LISTING | LISTING | LISTING
|
MENU | MENU | MENU | MENU | MENU
|
compact | compact | compact | compact | compact
|
NEXTID | NEXTID | NEXTID | NEXTID | NEXTID
|
n | n | n | n | n
|
OL | OL | OL | OL | OL
|
compact | compact | compact | compact | compact
|
| | start | start | start
|
| | type | type | type
|
P | P | P | P | P
|
| | align | align | align
|
PLAINTEXT | PLAINTEXT | PLAINTEXT | PLAINTEXT | PLAINTEXT
|
PRE | PRE | PRE | PRE | PRE
|
width | width | width | width | width
|
SAMP | SAMP | SAMP | SAMP | SAMP
|
STRONG | STRONG | STRONG | STRONG | STRONG
|
TITLE | TITLE | TITLE | TITLE | TITLE
|
TT | TT | TT | TT | TT
|
U | U | U | U | U
|
UL | UL | UL | UL | UL
|
compact | compact | compact | compact | compact
|
| | type | type | type
|
VAR | VAR | VAR | VAR | VAR
|
XMP | XMP | XMP | XMP | XMP
|
| BR | BR | BR | BRcore
|
| | clear | clear | clear
|
| FORM | FORM | FORM | FORM
|
| action | action | action | action
|
| enctype | enctype | enctype | enctype
|
| method | method | method | method
|
| | | accept | accept
|
| | | accept-charset | accept-charset
|
| | | name | name
|
| | | onreset | onreset
|
| | | onsubmit | onsubmit
|
| | | target | target
|
| HR | HR | HR | HR
|
| | align | align | align
|
| | noshade | noshade | noshade
|
| | size | size | size
|
| | width | width | width
|
| INPUT | INPUT | INPUT | INPUT
|
| align | align | align | align
|
| checked | checked | checked | checked
|
| maxlength | maxlength | maxlength | maxlength
|
| name | name | name | name
|
| size | size | size | size
|
| src | src | src | src
|
| type | type | type | type
|
| value | value | value | value
|
| | | accept | accept
|
| | | accesskey | accesskey
|
| | | alt | alt
|
| | | disabled | disabled
|
| | | ismap | ismap
|
| | | onblur | onblur
|
| | | onfocus | onfocus
|
| | | onchange | onchange
|
| | | onselect | onselect
|
| | | readonly | readonly
|
| | | tabindex | tabindex
|
| | | usemap | usemap
|
| META | META | META | META
|
| content | content | content | content
|
| http-equiv | http-equiv | http-equiv | http-equiv
|
| name | name | name | name
|
| | | scheme | scheme
|
| OPTION | OPTION | OPTION | OPTION
|
| selected | selected | selected | selected
|
| value | value | value | value
|
| | | disabled | disabled
|
| | | label | label
|
| SELECT | SELECT | SELECT | SELECT
|
| multiple | multiple | multiple | multiple
|
| name | name | name | name
|
| size | size | size | size
|
| | | disabled | disabled
|
| | | onblur | onblur
|
| | | onfocus | onfocus
|
| | | onchange | onchange
|
| | | tabindex | tabindex
|
| TEXTAREA | TEXTAREA | TEXTAREA | TEXTAREA
|
| cols | cols | cols | cols
|
| name | name | name | name
|
| rows | rows | rows | rows
|
| | | accesskey | accesskey
|
| | | disabled | disabled
|
| | | onblur | onblur
|
| | | onfocus | onfocus
|
| | | onchange | onchange
|
| | | onselect | onselect
|
| | | readonly | readonly
|
| | | tabindex | tabindex
|
| | APPLET | APPLET | APPLET
|
| | align | align | align
|
| | alt | alt | alt
|
| | code | code | code
|
| | codebase | codebase | codebase
|
| | height | height | height
|
| | hspace | hspace | hspace
|
| | name | name | name
|
| | vspace | vspace | vspace
|
| | width | width | width
|
| | | archive | archive
|
| | | object | object
|
| | AREA | AREA | AREA
|
| | alt | alt | alt
|
| | coords | coords | coords
|
| | href | href | href
|
| | nohref | nohref | nohref
|
| | shape | shape | shape
|
| | | accesskey | accesskey
|
| | | onblur | onblur
|
| | | onfocus | onfocus
|
| | | tabindex | tabindex
|
| | | target | target
|
| | BASEFONT | BASEFONT | BASEFONT
|
| | size | size | size
|
| | | color | color
|
| | | face | face
|
| | | id | id
|
| | BIG | BIG | BIG
|
| | CAPTION | CAPTION | CAPTION
|
| | align | align | align
|
| | CENTER | CENTER | CENTER
|
| | DIV | DIV | DIV
|
| | align | align | align
|
| | FONT | FONT | FONT
|
| | color | color | color
|
| | size | size | size
|
| | | face | face
|
| | MAP | MAP | MAP
|
| | name | name | name
|
| | PARAM | PARAM | PARAM
|
| | name | name | name
|
| | value | value | value
|
| | | id | id
|
| | | type | type
|
| | | valuetype | valuetype
|
| | SCRIPT | SCRIPT | SCRIPT
|
| | | defer | defer
|
| | | event | event
|
| | | for | for
|
| | | charset | charset
|
| | | language | language
|
| | | src | src
|
| | | type | type
|
| | SMALL | SMALL | SMALL
|
| STRIKE | STRIKE | STRIKE | STRIKE
|
| | STYLE | STYLE | STYLE
|
| | | media | media
|
| | | title | title
|
| | | type | type
|
| | SUB | SUB | SUB
|
| | SUP | SUP | SUP
|
| | TABLE | TABLE | TABLE
|
| | align | align | align
|
| | border | border | border
|
| | cellpadding | cellpadding | cellpadding
|
| | cellspacing | cellspacing | cellspacing
|
| | width | width | width
|
| | | bgcolor | bgcolor
|
| | | datafld | datafld
|
| | | dataformats | dataformats
|
| | | datapagesize | datapagesize
|
| | | datasrc | datasrc
|
| | | frame | frame
|
| | | rules | rules
|
| | | summary | summary
|
| | TD | TD | TD
|
| | align | align | align
|
| | colspan | colspan | colspan
|
| | height | height | height
|
| | nowrap | nowrap | nowrap
|
| | rowspan | rowspan | rowspan
|
| | valign | valign | valign
|
| | width | width | width
|
| | | abbr | abbr
|
| | | axis | axis
|
| | | bgcolor | bgcolor
|
| | | headers | headers
|
| | | char | char
|
| | | charoff | charoff
|
| | | scope | scope
|
| | TH | TH | TH
|
| | align | align | align
|
| | colspan | colspan | colspan
|
| | height | height | height
|
| | nowrap | nowrap | nowrap
|
| | rowspan | rowspan | rowspan
|
| | valign | valign | valign
|
| | width | width | width
|
| | | abbr | abbr
|
| | | axis | axis
|
| | | bgcolor | bgcolor
|
| | | headers | headers
|
| | | char | char
|
| | | charoff | charoff
|
| | | scope | scope
|
| | TR | TR | TR
|
| | align | align | align
|
| | valign | valign | valign
|
| | | bgcolor | bgcolor
|
| | | char | char
|
| | | charoff | charoff
|
| | | ABBR | ABBR
|
| | | ACRONYM | ACRONYM
|
| | | BDO | BDO
|
| | | dir | dir
|
| | | lang | lang
|
| | | BUTTON | BUTTON
|
| | | accesskey | accesskey
|
| | | disabled | disabled
|
| | | name | name
|
| | | onblur | onblur
|
| | | onfocus | onfocus
|
| | | tabindex | tabindex
|
| | | type | type
|
| | | value | value
|
| | | COL | COL
|
| | | align | align
|
| | | char | char
|
| | | charoff | charoff
|
| | | span | span
|
| | | valign | valign
|
| | | width | width
|
| | | COLGROUP | COLGROUP
|
| | | align | align
|
| | | char | char
|
| | | charoff | charoff
|
| | | span | span
|
| | | valign | valign
|
| | | width | width
|
| | | DEL | DEL
|
| | | cite | cite
|
| | | datetime | datetime
|
| | | FIELDSET | FIELDSET
|
| | | FRAME | FRAME
|
| | | frameborder | frameborder
|
| | | longdesc | longdesc
|
| | | marginheight | marginheight
|
| | | marginwidth | marginwidth
|
| | | name | name
|
| | | noresize | noresize
|
| | | scrolling | scrolling
|
| | | src | src
|
| | | FRAMESET | FRAMESET
|
| | | rows | rows
|
| | | cols | cols
|
| | | onload | onload
|
| | | onunload | onunload
|
| | | IFRAME | IFRAME
|
| | | align | align
|
| | | frameborder | frameborder
|
| | | height | height
|
| | | longdesc | longdesc
|
| | | marginheight | marginheight
|
| | | marginwidth | marginwidth
|
| | | name | name
|
| | | scrolling | scrolling
|
| | | src | src
|
| | | width | width
|
| | | INS | INS
|
| | | cite | cite
|
| | | datetime | datetime
|
| | | LABEL | LABEL
|
| | | acceskey | acceskey
|
| | | for | for
|
| | | onblur | onblur
|
| | | onfocus | onfocus
|
| | | LEGEND | LEGEND
|
| | | accesskey | accesskey
|
| | | align | align
|
| | | NOFRAMES | NOFRAMES
|
| | | NOSCRIPT | NOSCRIPT
|
| | | OBJECT | OBJECT
|
| | | align | align
|
| | | archive | archive
|
| | | border | border
|
| | | classid | classid
|
| | | codebase | codebase
|
| | | codetype | codetype
|
| | | data | data
|
| | | declare | declare
|
| | | height | height
|
| | | hspace | hspace
|
| | | name | name
|
| | | standby | standby
|
| | | tabindex | tabindex
|
| | | type | type
|
| | | usemap | usemap
|
| | | vspace | vspace
|
| | | width | width
|
| | | OPTGROUP | OPTGROUP
|
| | | disabled | disabled
|
| | | label | label
|
| | | Q | Q
|
| | | cite | cite
|
| | | S | S
|
| | | SPAN | SPAN
|
| | | align | align
|
| | | TBODY | TBODY
|
| | | align | align
|
| | | char | charset
|
| | | charoff | charoff
|
| | | valign | valign
|
| | | TFOOT | TFOOT
|
| | | align | align
|
| | | char | charset
|
| | | charoff | charoff
|
| | | valign | valign
|
| | | THEAD | THEAD
|
| | | align | align
|
| | | char | charset
|
| | | charoff | charoff
|
| | | valign | valign
|
* V tabulce nejsou obsaženy všechny atributy - viz níže!
Legenda
STANDARDNÍ PRVEK | standardní prvek (strict)
|
NEDOPORUČOVANÝ STANDARDNÍ PRVEK | standardní prvek, jehož používání se nedoporučuje
|
PŘECHODNÝ PRVEK | prvek není obsažen ve striktní DTD (tzv. transitional)
|
NEDOPORUČOVANÝ PŘECHODNÝ PRVEK | přechodný prvek, jehož používání se nedoporučuje
|
NEPODPOROVANÝ PRVEK | prvek není v normě obsažen
|
standardní povinný atribut | standardní povinný atribut (strict required)
|
standardní nepovinný atribut | standardní nepovinný atribut (strict)
|
standardní nedoporučovaný atribut | standardní atribut, jehož používání se nedoporučuje
|
přechodný atribut | atribut není obsažen ve striktní DTD (tzv. transitional)
|
přechodný nedoporučovaný atribut | přechodný atribut, jehož používání se nedoporučuje
|
nepodporovanhý atribut | atribut není v normě obsažen
|
Použitá literatura
- Berners-Lee, T. ed.: Hypertext Markup Language (HTML), www.w3.org, IETF IIIR Working Group, 1993
- Connolly, D. ed.: HTML 2.0 Specification, www.rfc-editor.org, HTML WG IETF, 1995
- Raggett, D. ed.: HTML 3.2 Reference Specification, www.w3.org,World Wide Web Consortium, 1997
- Raggett, D. ed.; Le Hors, A. ed.; Jacobs, A. ed.: HTML 4.01 Specification, www.w3.org,World Wide Web Consortium, 1999
- ČSN ISO/IEC 15445: Hypertextový vyznačovací jazyk (HTML), Praha,Český normalizační institut , 2002
Poznámka autora
Tato srovnávací tabulka měla být původně součástí absolvenstské práce na téma HTML. Z absolutoria však nakonec "
sešlo" a tak bych rád některé zajímavé kapitoly alespoň vystavil na netu. Účelem tabulky je
historické srovnání jednotlivých verzí jazyka HTML z pohledu využítí prvků a atributů. Pokouší se zachytit formální historický vývoj jazyka a není určena jako klasický referenční zdroj informací o jazyku HTML.
Tabulka neobsahuje generické atributy použité ve verzích 4.01 a ISO !
HTML 4.01: id, class, style, title, lang, dir, onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
ISO/IEC 15445: class, id, title, dir, lang