• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com专业计算机教程网站
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • html/xhtml
  • html5
  • CSS
  • XML/XSLT
  • Dreamweaver教程
  • Frontpage教程
  • 心得技巧
  • bootstrap
  • vue
  • AngularJS
  • HBuilder教程
  • css3
  • 浏览器兼容
  • div/css
  • 网页编辑器
  • axure
您的位置:首页 > 网页设计 >html5 > HTML5 对各个标签的定义与规定:body的介绍

HTML5 对各个标签的定义与规定:body的介绍

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-08-06

本文主要包含HTML5,body等相关知识,佚名 希望在学习及工作中可以帮助到您
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知识点总结
  • HTML5的本地存储
  • HTML5本地存储之IndexedDB
  • Html5实现文件异步上传功能
  • Html5新标签datalist实现输入框与后台数据库数据的动态匹配
  • 详解HTML5 window.postMessage与跨域
  • HTML5拖放API实现拖放排序的实例代码
  • 解决html5中video标签无法播放mp4问题的办法
  • HTML5新特性 多线程(Worker SharedWorker)
  • Html5新增标签有哪些

相关文章

  • 2018-12-03HTML5新特性之跨文档消息传输详解
  • 2018-12-03bookblock:可帮助你生成翻页效果的jQuery插件
  • 2018-12-03html5 progress标签怎么用?progress标签的属性介绍
  • 2018-12-03html导航菜单为什么都用li+a标签,而不直接用a标签,或者用nav+a标签,html5中导航菜单该怎样写?
  • 2018-12-03移动HTML5中MUI框架的使用方法
  • 2018-12-03很酷的HTML5电子书翻页动画特效_html5教程技巧
  • 2018-12-03HTML5中的nav标签的详解
  • 2017-08-06html5拖曳操作 HTML5实现网页元素的拖放操作
  • 2018-12-03基于HTML5鼠标点击淡入淡出切换代码
  • 2018-12-03HTML5的WebSocket详解

文章分类

  • html/xhtml
  • html5
  • CSS
  • XML/XSLT
  • Dreamweaver教程
  • Frontpage教程
  • 心得技巧
  • bootstrap
  • vue
  • AngularJS
  • HBuilder教程
  • css3
  • 浏览器兼容
  • div/css
  • 网页编辑器
  • axure

最近更新的内容

    • HTML5实战与剖析之媒体元素(2、媒体元素的属性)
    • HTML5+lufylegend实现游戏中的卷轴 _html5教程技巧
    • 使用css创建三角形 使用CSS3创建3d四面体原理及代码(html5实践)_html5教程技巧
    • HTML5 canvas基本绘图之绘制阴影效果
    • H5缓存机制浅析 移动端Web加载性能优化
    • HTML5新增属性:五种全局属性的介绍
    • 画出自己的UI组件的详情
    • HTML5和CSS3实例教程总结(推荐)
    • HTML5使用ApplicationCache接口实现离线缓存技术解决离线难题_html5教程技巧
    • HTML5 Canvas实现交互式地铁线路图

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有