Learn about the HTMLBodyElement interface, including its properties and methods, specifications and browser compatibility.
Interface HTMLBodyElement All Superinterfaces: Element,HTMLElement,Node public interfaceHTMLBodyElementextendsHTMLElement HTML文档正文。即使源文档中不存在标记,此元素也始终存在于DOM API中。请参阅HTML 4.0中的BODY元素定义。 另见Document Object Model (DOM) Level 2 Specification。
HTMLElement HTMLドキュメントの本文。 ソース・ドキュメントにタグがない場合でも、この要素は常にDOM API内に存在します。 HTML 4.0のBODY要素の定義を参照してください。 「Document Object Model (DOM) Level 2 Specification」も参照してください。
WHATWG HTML Living Standard The definition of 'HTMLBodyElement' in that specification.Living StandardTechnically, the event-related propertiesonafterprint,onbeforeprint,onbeforeunload,onblur,onerror,onfocus,onhashchange,onlanguagechange,onload,onmessage,onoffline,ononline,onpopstate,onresize,onstorage, andonunloa...
document.documentElement即html标签的DOM对象 document.body即body标点的DOM对象 以chrome/IE8/IE9/firefox为例,简易的比较一下window、document、html、body、element的onxxx属性 说明:表格中yes表示对象拥有该属性,否则没有 chrome45.0中所有的onxxx属性 chrome浏览器的事件基本都都列在上面了,基本上每个事件都有.on...
The<body>element may be the most important HTML element there is. The contents of the<body>element are what actually get displayed to the user visiting your web page or viewing your document. And yet, it is very simple. The<body>must be a direct child of<html>, it must comeafter<head...
IHTMLAttributeCollection2 IHTMLAttributeCollection3 IHTMLAttributeCollection4 IHTMLAudioElement IHTMLAudioElementFactory IHTMLBaseElement IHTMLBaseElement2 IHTMLBaseFontElement IHTMLBGsound IHTMLBlockElement IHTMLBlockElement2 IHTMLBlockElement3 IHTMLBodyElement ...
HTMLDocumentEvents2 HTMLDocumentEvents3 HTMLDocumentEvents4 HTMLElementEvents HTMLElementEvents2 HTMLElementEvents3 HTMLElementEvents4 HTMLFormElementEvents HTMLFormElementEvents2 HTMLFrameSiteEvents HTMLFrameSiteEvents2 HTMLImgEvents HTMLImgEvents2 HTMLInputFileElementEvents HTMLInputFileElementEvents2 ...
HRESULT IHTMLBodyElement::get_link(VARIANT *p); HRESULT IHTMLBodyElement::put_link(VARIANT v); Parameters p Pointer to a variable of type VARIANT of type VT_BSTR or VT_I4 that receives one of the color names or RGB values in the Color Table. v VARIANT of type VT_BSTR or VT_I4 ...
HtmlDocument HtmlDocument 属性 ActiveElement ActiveLinkColor 全部 BackColor 正文 Cookie DefaultEncoding Domain DomDocument 编码 已设定焦点 ForeColor 窗体 图像 LinkColor 链接 RightToLeft 标题 URL VisitedLinkColor 窗口 方法 事件 运算符 HtmlElement