[17] HTMLElement インターフェイスは、
HTML要素の要素インターフェイスです。すべてのHTML要素は、
HTMLElement インターフェイスを実装します >>11。
[21] HTMLElement インターフェイスは、
Element インターフェイスを継承しています >>11。
[74] HTMLElement は、 ElementContentEditable
インターフェイスを実装します。
[22] HTMLElement インターフェイスは、
文書環境に晒されます。
[44] HTML要素の要素インターフェイスは、要素名ごとに決められています。
いずれも HTMLElement インターフェイスを継承したものとなっています。
HTMLElement を継承するインターフェイス[45] カスタム要素は、 HTMLElement またはその子孫のインターフェイスを継承した、著者が定義したJavaScriptのクラスを実装します。
[53] HTMLElement インターフェイスとその子インターフェイスの多くは、
HTMLConstructor 拡張属性を持ちます。
HTMLConstructor 拡張属性を持つインターフェイスは、
HTML要素構築器を持ちます。
[32] HTML要素構築器は、
拡張するクラス (カスタム要素) のコンストラクターから
super で呼び出す時のために用意されています。
それ以外で使うことはできません。
[20] HTML要素構築器を持つインターフェイスオブジェクトの
Construct と Call は、次のようにしなければなりません
>>11。
CustomElementsRegistry に設定します。NewTarget が活性関数オブジェクトの場合、NewTarget と等しい項目に設定します。null の場合、HTMLElement でない場合、null に設定します。Get(NewTarget, "prototype")
の結果に設定します。例外が投げられたら、再度投げて、ここで停止します。Type(プロトタイプ) が Object
でなければ、GetFunctionRealm(NewTarget)
に設定します。[54] HTMLConstructor 拡張属性は、
インターフェイス以外に指定してはなりません >>11。
コールバックインターフェイスに指定してはなりません >>11。
[55] HTMLConstructor 拡張属性は、
引数なしでなければなりません >>11。
[56] HTMLConstructor 拡張属性は、
Constructor や NoInterfaceObject
と併用してはなりません >>11。
[1] HTML の要素型の一覧です。この wiki に情報があるものはすべてここに挙げていますが、抜けがあるかもしれません。 公式な HTML 仕様に存在するものはすべて含まれていますが、 そうでないもの (独自拡張のもの、提案段階のものなど、 未確認のもの) はここに含まれないものが多々あります。
[2] ここで、HTML の要素型とは、 XHTML において名前空間
http://www.w3.org/1999/xhtml,
http://www.w3.org/2002/06/xhtml2,
http://www.w3.org/2002/06/xhtml2/
で使われているものと、
旧来慣習的に HTML
と呼ばれているものに含まれているらしき要素型です。
提案の初期段階にあるもの (単なる思い付きやメイリング・リスト等への投稿など)
は含みませんが、仕様案等として提出されたものや実装されたものは含めます。
明らかに単純な誤りであるものは除外していますが、
大量に使用例があるものなどは含めています。
XHTML 2.0 WD で XHTML 2.0 名前空間に取り込まれている
XForms の要素型は除外しています。
abstractarticleasidebannerblockcodeblockquotebqblockquote)detailsdivdivn (div1, div2, div3, div4, div5, div6)fnhh1)hn (h0, h1, h2, h3, h4, h5, h6, h7, h8, h9, h10)mapnav)navnotequoteblockquote)sectionseparatorhr)sidebaraside)switchtabboxtabdcdsabbrabbrevabbr)acronymabbr)argauauthorcitecmdcodedatet)dfneditorememphhpnem)isbnkbdkeylanglang)mmeternr (XHTML2)data)optpersonprogresspubqquoteq)sampstrongem)spanttimevarxt)appapplet)appletobject)altimg alt)animateobject)areaa)audioobject)audioscopeobject)canvascsimportembedembededembed)enbedembed)figimg, figure)figtextframeobject)iframeobject)imageimg)imgobject)mapnoembedobject)noimgobject)objectparamapplet, object の引数soundobject)standbyvideoxmlcsactioncsactiondictcsactionitemcsactionscsobjcsscriptdictevent-sourceeventsourcehandlerscript)noscriptredocscriptserverinfoxmlaboveatopbarbelowboxchoosedotddothatleftofoveroverlayrightrootsqrttildevecbasefontbgsoundx-claris-tagviewx-claris-windowfontbasebasefont)rangex-sas-windowstylebfont-weight: bolder)bigfont-size: bigger)blackfacefont-family)blinktext-decoration: blink)btfontifont-style: italic)sfont-decoration)shadowtext-shadow)strikefont-decoration)smallfont-size: smaller)ttfont-family: monospace)utext-decoration: underline)brcentertext-align: center, margin-left: auto; margin-right: auto)centretext-align: center, margin-left: auto; margin-right: auto)hrborder)ilayerdiv, CSS)layerdiv, CSS)lefttext-align: left)limittextlitpre)listingpre)marquemarquee)marqueemulticolmulticolummulticol)nobrwhite-space: nowrap)noindexnolayernolocnosmartquotesprewhite-space: pre))returnablespacerwbrxmppre)cookieentityflamexmlreaderwiredroachtatekill_sgmlpinheadsecretseratransliteratednhypepeekpoketyogsothoth.date .find.key .mail .name .search.key .search.max .search.match .time inv 反転 !middle t-action t-bottom t-case t-cb Column break t-code 文字参照 t-em 強調 t-hide t-img t-left 左揃え (非推奨) t-move 文字位置調整 t-nocase t-pb Page break t-pdef 挿絵定義 t-phead t-ptail t-r ルビ t-rb ルビ t-right 右揃え (非推奨) t-tab Indentation t-time t-top
[97] RFC 1866 - Hypertext Markup Language - 2.0, Tim Berners-Lee, Daniel W. Connolly, , https://datatracker.ietf.org/doc/html/rfc1866#section-4.2.1
[823] classic mozilla/lib/libparse/pa_hash.rmap ( ( 版)) http://mxr.mozilla.org/classic/source/lib/libparse/pa_hash.rmap
[104] make use of HTMLElement for unknown elements a requirement. add place…, Hixie, , https://github.com/whatwg/html/commit/45368d4c4e9329196a879faaa8fca3d6c6ba36dc#diff-41cf6794ba4200b839c53531555f0f3998df4cbb01a4d5cb0b94e3ca5e23947d
[4] Only allow requestFullscreen() for certain elements · whatwg/fullscreen@3e82afc ( 版) https://github.com/whatwg/fullscreen/commit/3e82afc58995660a8b022bf0d5a0c6aaa7d76323
[10] IRC logs: freenode / #whatwg / 20110805 ( ( 版)) http://krijnhoetmer.nl/irc-logs/whatwg/20110805
[12] [whatwg] classList should perhaps move from HTMLElement to Element ( ( 版)) http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-May/035640.html
[13] [whatwg] supporting HTMLElement.dataset on SVG elements ( ( 版)) http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-July/040020.html
[14] IRC logs: freenode / #whatwg / 20130712 ( ( 版)) http://krijnhoetmer.nl/irc-logs/whatwg/20130712#l-597
[15] Re: [whatwg] Move contentEditable/isContentEditable from HTMLElement to Element? ( (Anne van Kesteren 著, 版)) http://lists.w3.org/Archives/Public/public-whatwg-archive/2014May/0082.html
[16] [custom-elements] Steps inside HTMLElement's constructor (Ryosuke Niwa 著, 版) https://lists.w3.org/Archives/Public/public-webapps/2016JanMar/0113.html
[7] Adding event handler attributes cut/copy/paste · whatwg/html@efe130a ( 版) https://github.com/whatwg/html/commit/efe130a0566a43067659c1d92bf712b151db0727
[8] Editorial: synchronize with the DOM Standard · whatwg/html@21c6ec7 ( 版) https://github.com/whatwg/html/commit/21c6ec77594eb89b836d4872222f5916910967fd
[9] Add custom elements to HTML · whatwg/html@6e7eaa4 ( 版) https://github.com/whatwg/html/commit/6e7eaa4bd2912965fd83766f99f984f249531f3a
[30] Fix the owner document for all element constructors ( (domenic著, )) https://github.com/whatwg/html/commit/c9d898386d7b79cf1c7e104b5768e393c924078f
[47] Fix inaccurate stack-popping in custom element upgrades ( (domenic著, )) https://github.com/whatwg/html/commit/6561250ec3788938a2d64932093b0ea293b97174
[48] Fix custom element state setting for new CustomElement() ( (domenic著, )) https://github.com/whatwg/html/commit/9a49f1805457e58b59c308f5b0233c3c757171da
[50] Clarify that the namespace check in "create an element" is redundant ( (domenic著, )) https://github.com/whatwg/dom/commit/182e89f5355cbf90d263f7fffef812e7012dd945
[51] Export the definitions of [CEReactions] and [HTMLConstructor] ( (domenic著, )) https://github.com/whatwg/html/commit/6e040bfecceb8aed7949abda383656e0bbf449e0
[52] Allow all HTML element constructors to be subclassed (domenic著, ) https://github.com/whatwg/html/commit/4742b18559a6968213b680ea0b0521eae17de7e1
[57] Disallow defining a custom element using HTMLElement or its subclasses (domenic著, ) https://github.com/whatwg/html/commit/69847259ecd9b3166b88e24ab2d5f6dd8bd59aec
[58] Editorial: use "active function object" more often (domenic著, ) https://github.com/whatwg/html/commit/cd17646abd2ccfe17967a0c50803a2b1f623b5e7
[24] Disallow mismatches between custom element local names and brands (domenic著, ) https://github.com/whatwg/html/commit/0c45df84a6dab701e5a8e3eefd3d566ce3591737
[26] Set an element's custom element definition while newing it (domenic著, ) https://github.com/whatwg/html/commit/42e8da32bcfcd9742f39750ce3dbc8318619e784
[29] Move the check on registering an element interface as a custom element (domenic著, ) https://github.com/whatwg/html/commit/9c9b08013261bfa93cce4cbddbcd03d866717e11
[64] Use new.target.prototype in HTML element constructors (domenic著, ) https://github.com/whatwg/html/commit/93ce959946249590515a3cf1a4b939a24605fc90
[72] Fix which built-in elements can be customized (domenic著, ) https://github.com/whatwg/html/commit/7d6b279b0d2bc30752700155a043b65441fe12e3
[73] Refer to XML rather than XHTML syntax (sideshowbarker著, ) https://github.com/whatwg/html/commit/643d1bce74435ec5e7980245e3ab2669b2bc985b
[75] Editorial: export "HTML elements" and tweak phrasing (foolip著, ) https://github.com/whatwg/html/commit/eddf2498d5e589baed007a9a5250a0a83a41c426
[76] Remove <applet> (zcorpan著, ) https://github.com/whatwg/html/commit/b9b9d60f9451c05f8e8d542e4094f987ae1a5fb8
[77] Editorial: no IDL attribute is said to reflect an HTMLElement anymore (annevk著, ) https://github.com/whatwg/html/commit/f0f7a14c4eed844d6e099731e17dd993d626059a
[78] Editorial: no IDL attribute is said to reflect an HTMLElement anymore by annevk · Pull Request #3055 · whatwg/html () https://github.com/whatwg/html/pull/3055
[79] Refine the inputmode attribute, and expose it on contenteditable (dtapuska著, ) https://github.com/whatwg/html/commit/d430f275f4e253956a5965c8b90885d3ac4e90c1
[80] Refine the inputmode attribute, exposing it on contenteditable. by dtapuska · Pull Request #3260 · whatwg/html () https://github.com/whatwg/html/pull/3260
[81] Add HTMLOrSVGElement interface mixin (annevk著, ) https://github.com/whatwg/html/commit/81e82437a7ef1ee37d4ce2b5a982bc297d5b58b1
[82] Add HTMLOrSVGElement interface mixin by annevk · Pull Request #3543 · whatwg/html () https://github.com/whatwg/html/pull/3543
[83] Correctly set "is value" in [HTMLConstructor] (domenic著, ) https://github.com/whatwg/html/commit/6be3127514c4bbc36057bf8901493a2eb722ae9f
[92] Cloning Built-in customized elements, which are create using 'new Foo()' doesn't work because is-value isn't set · Issue #3776 · whatwg/html () https://github.com/whatwg/html/issues/3776
[93] Correctly set "is value" in [HTMLConstructor] by domenic · Pull Request #3777 · whatwg/html () https://github.com/whatwg/html/pull/3777
[94] Define "overridden constructor steps" (domenic著, ) https://github.com/heycam/webidl/commit/9c597595875df28f39e0dce520bb96f05c6f6a37
[95] Define "usual constructor steps" by domenic · Pull Request #797 · heycam/webidl () https://github.com/heycam/webidl/pull/797
HTMLElementを継承する他のインターフェイスも実装していることがあります。 要素インターフェイスも参照。