草案
此页面不完整。
HTMLOrForeignElement
mixin describes several features common to the
HTMLElement
,
SVGElement
and
MathMLElement
接口。
Each of these interfaces can, of course, add more features in addition to the ones listed below.
注意
:
HTMLOrForeignElement
is a mixin and not an interface; you can't actually create an object of type
HTMLOrForeignElement
.
dataset
只读
dataset
只读特性在
HTMLOrForeignElement
interface provides read/write access to all the
自定义数据属性
(
data-
*
) set on the element.
nonce
nonce
特性为
HTMLOrForeignElement
interface returns the cryptographic number used once that is used by
Content Security Policy
to determine whether a given fetch will be allowed to proceed.
tabIndex
tabIndex
特性为
HTMLOrForeignElement
interface represents the tab order of the current element.
blur()
HTMLElement.blur()
method removes keyboard focus from the current element.
focus()
HTMLElement.focus()
method sets focus on the specified element, if it can be focused. The focused element is the element which will receive keyboard and similar events by default.
| 规范 | 状态 | 注释 |
|---|---|---|
|
HTML 实时标准
The definition of '
HTMLOrForeignElement
' in that specification.
|
实时标准 | 初始定义。 |
No compatibility data found. Please contribute data for "api.HTMLOrForeignElement" (depth: 1) to the MDN 兼容性数据存储库 .
HTMLOrForeignElement
BeforeUnloadEvent
DOMStringMap
ErrorEvent
GlobalEventHandlers
HTMLAnchorElement
HTMLAreaElement
HTMLAudioElement
HTMLBRElement
HTMLBaseElement
HTMLBaseFontElement
HTMLBodyElement
HTMLButtonElement
HTMLCanvasElement
HTMLContentElement
HTMLDListElement
HTMLDataElement
HTMLDataListElement
HTMLDialogElement
HTMLDivElement
HTMLDocument
HTMLElement
HTMLEmbedElement
HTMLFieldSetElement
HTMLFormControlsCollection
HTMLFormElement
HTMLFrameSetElement
HTMLHRElement
HTMLHeadElement
HTMLHeadingElement
HTMLHtmlElement
HTMLIFrameElement
HTMLImageElement
HTMLInputElement
HTMLIsIndexElement
HTMLKeygenElement
HTMLLIElement
HTMLLabelElement
HTMLLegendElement
HTMLLinkElement
HTMLMapElement
HTMLMediaElement
HTMLMetaElement
HTMLMeterElement
HTMLModElement
HTMLOListElement
HTMLObjectElement
HTMLOptGroupElement
HTMLOptionElement
HTMLOptionsCollection
HTMLOutputElement
HTMLParagraphElement
HTMLParamElement
HTMLPictureElement
HTMLPreElement
HTMLProgressElement
HTMLQuoteElement
HTMLScriptElement
HTMLSelectElement
HTMLShadowElement
HTMLSourceElement
HTMLSpanElement
HTMLStyleElement
HTMLTableCaptionElement
HTMLTableCellElement
HTMLTableColElement
HTMLTableDataCellElement
HTMLTableElement
HTMLTableHeaderCellElement
HTMLTableRowElement
HTMLTableSectionElement
HTMLTemplateElement
HTMLTextAreaElement
HTMLTimeElement
HTMLTitleElement
HTMLTrackElement
HTMLUListElement
HTMLUnknownElement
HTMLVideoElement
HashChangeEvent
历史
ImageData
定位
MessageChannel
MessageEvent
MessagePort
Navigator
NavigatorGeolocation
NavigatorID
NavigatorLanguage
NavigatorOnLine
NavigatorPlugins
PageTransitionEvent
Plugin
PluginArray
PopStateEvent
PortCollection
PromiseRejectionEvent
RadioNodeList
Transferable
ValidityState
Window
WindowBase64
WindowEventHandlers
WindowTimers