mozilla

Compare Revisions

HTMLBodyElement

Change Revisions

Revision 76005:

Revision 76005 by trevorh on

Revision 286864:

Revision 286864 by Sheppy on

Title:
HTMLBodyElement
HTMLBodyElement
Slug:
DOM/HTMLBodyElement
DOM/HTMLBodyElement
Tags:
DOM, NeedsTechnicalReview, "Gecko DOM Reference"
DOM, NeedsTechnicalReview, "Gecko DOM Reference"
Content:

Revision 76005
Revision 286864
n10    <h2>n10    <h2 id="HTML_body_element_interface">
n16    <h2>n16    <h2 id="Properties">
nn53            <p>
53            URI for a background image resource.54              URI for a background image resource.
55            </p>
56            <div class="note">
57              <strong>Note:</strong> Starting in Gecko 7.0 {{ gec
 >koRelease("7.0") }}, this value is no longer resolved as a URI; i
 >nstead, it's treated as a simple string.
58            </div>
n80            <code>onafterprint</code> {{ HTMLVersionInline("5") }n85            <code>onafterprint</code> {{ HTMLVersionInline(5) }}
>} 
n91            <code>onbeforeprint</code> {{ HTMLVersionInline("5"n96            <code>onbeforeprint</code> {{ HTMLVersionInline(5) }}
>}} 
n102            <code>onbeforeunload</code> {{ HTMLVersionInline("5")n107            <code>onbeforeunload</code> {{ HTMLVersionInline(5) }
> }}>}
n113            <code>onblur</code> {{ HTMLVersionInline("5") }}n118            <code>onblur</code> {{ HTMLVersionInline(5) }}
n123              Note that this handler is triggered when the event n128              <strong>Note:</strong> This handler is triggered wh
>reaches the window, not the body element. Use {{ domxref("element>en the event reaches the window, not the body element. Use {{ dom
>.addEventListener","addEventListener()") }} to attach an event li>xref("element.addEventListener","addEventListener()") }} to attac
>stener to the body element.>h an event listener to the body element.
124            </div>
125          </td>129            </div>
126        </tr>
127        <tr>
128          <td>130          </td>
131        </tr>
132        <tr>
133          <td>
129            <code>onerror</code> {{ HTMLVersionInline("5") }}134            <code>onerror</code> {{ HTMLVersionInline(5) }}
n139              Note that this handler is triggered when the event n144              <strong>Note:</strong> This handler is triggered wh
>reaches the window, not the body element. Use {{ domxref("element>en the event reaches the window, not the body element. Use {{ dom
>.addEventListener","addEventListener()") }} to attach an event li>xref("element.addEventListener","addEventListener()") }} to attac
>stener to the body element.>h an event listener to the body element.
140            </div>
141          </td>145            </div>
142        </tr>
143        <tr>
144          <td>146          </td>
147        </tr>
148        <tr>
149          <td>
145            <code>onfocus</code> {{ HTMLVersionInline("5") }}150            <code>onfocus</code> {{ HTMLVersionInline(5) }}
n155              Note that this handler is triggered when the event n160              <strong>Note:</strong> This handler is triggered wh
>reaches the window, not the body element. Use {{ domxref("element>en the event reaches the window, not the body element. Use {{ dom
>.addEventListener","addEventListener()") }} to attach an event li>xref("element.addEventListener","addEventListener()") }} to attac
>stener to the body element.>h an event listener to the body element.
156            </div>
157          </td>161            </div>
158        </tr>
159        <tr>
160          <td>162          </td>
163        </tr>
164        <tr>
165          <td>
161            <code>onhashchange</code> {{ HTMLVersionInline("5") }166            <code>onhashchange</code> {{ HTMLVersionInline(5) }}
>} 
n172            <code>onload</code> {{ HTMLVersionInline("5") }}n177            <code>onload</code> {{ HTMLVersionInline(5) }}
n182              Note that this handler is triggered when the event n187              <strong>Note:</strong> This handler is triggered wh
>reaches the window, not the body element. Use {{ domxref("element>en the event reaches the window, not the body element. Use {{ dom
>.addEventListener","addEventListener()") }} to attach an event li>xref("element.addEventListener","addEventListener()") }} to attac
>stener to the body element.>h an event listener to the body element.
183            </div>
184          </td>188            </div>
185        </tr>
186        <tr>
187          <td>189          </td>
190        </tr>
191        <tr>
192          <td>
188            <code>onmessage</code> {{ HTMLVersionInline("5") }}193            <code>onmessage</code> {{ HTMLVersionInline(5) }}
n199            <code>onoffline</code> {{ HTMLVersionInline("5") }}n204            <code>onoffline</code> {{ HTMLVersionInline(5) }}
n210            <code>ononline</code> {{ HTMLVersionInline("5") }}n215            <code>ononline</code> {{ HTMLVersionInline(5) }}
n221            <code>onpopstate</code> {{ HTMLVersionInline("5") }}n226            <code>onpopstate</code> {{ HTMLVersionInline(5) }}
n232            <code>onredo</code> {{ HTMLVersionInline("5") }} {{ un237            <code>onredo</code> {{ HTMLVersionInline(5) }} {{ uni
>nimplemented_inline() }}>mplemented_inline() }}
n243            <code>onresize</code> {{ HTMLVersionInline("5") }}n248            <code>onresize</code> {{ HTMLVersionInline(5) }}
n254            <code>onstorage</code> {{ HTMLVersionInline("5") }}n259            <code>onstorage</code> {{ HTMLVersionInline(5) }}
n265            <code>onundo</code> {{ HTMLVersionInline("5") }} {{ un270            <code>onundo</code> {{ HTMLVersionInline(5) }} {{ uni
>nimplemented_inline() }}>mplemented_inline() }}
n276            <code>onunload</code> {{ HTMLVersionInline("5") }}n281            <code>onunload</code> {{ HTMLVersionInline(5) }}
t309    <h2>t314    <h2 id="See_also">

Back to History