<menu id="g42kk"></menu>
  • <menu id="g42kk"><tt id="g42kk"></tt></menu>
  • HTML5 對各個標簽的定義與規定:body的介紹_HTML5教程

    編輯Tag賺U幣
    教程Tag:bodyhtml5添加

    推薦:關于HTML5的安全問題開發人員需要牢記的
    HTML5中的安全問題也要注意的

    body元素就是就是html文檔的主內容標簽。
    可設置屬性
    onafterprint 在打印文檔之后運行腳本
    onbeforeprint 在文檔打印之前運行腳本
    onbeforeonload 在文檔加載之前運行腳本
    onblur 當窗口失去焦點時運行腳本
    onerror 當錯誤發生時運行腳本
    onfocus 當窗口獲得焦點時運行腳本
    onhaschange 當文檔改變時運行腳本
    onload 當文檔加載時運行腳本
    onmessage 當觸發消息時運行腳本
    onoffline 當文檔離線時運行腳本
    ononline 當文檔上線時運行腳本
    onpagehide 當窗口隱藏時運行腳本
    onpageshow 當窗口可見時運行腳本
    onpopstate 當窗口歷史記錄改變時運行腳本
    onredo 當文檔執行再執行操作(redo)時運行腳本
    onresize 當調整窗口大小時運行腳本
    onstorage 當文檔加載加載時運行腳本
    onundo 當文檔執行撤銷操作時運行腳本
    onunload 當用戶離開文檔時運行腳本
    DOM 接口
    代碼: 全選 運行
    interface HTMLBodyElement : HTMLElement {
    attribute Function onafterprint;
    attribute Function onbeforeprint;
    attribute Function onbeforeunload;
    attribute Function onblur;
    attribute Function onerror;
    attribute Function onfocus;
    attribute Function onhashchange;
    attribute Function onload;
    attribute Function onmessage;
    attribute Function onoffline;
    attribute Function ononline;
    attribute Function onpopstate;
    attribute Function onpagehide;
    attribute Function onpageshow;
    attribute Function onredo;
    attribute Function onresize;
    attribute Function onscroll;
    attribute Function onstorage;
    attribute Function onundo;
    attribute Function onunload;
    };

    分享:關于HTML5的22個初級技巧(圖文教程)
    HTML5來了.讓我們看一下有什么技巧

    來源:未知//所屬分類:HTML5教程/更新時間:2013-04-22
    相關HTML5教程
    波多野结衣人妻教师痴
    <menu id="g42kk"></menu>
  • <menu id="g42kk"><tt id="g42kk"></tt></menu>