• 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教程技巧

HTML5 对各个标签的定义与规定:body的介绍_html5教程技巧

作者:匿名 字体:[增加 减小] 来源:互联网 时间:2018-12-03

本文主要包含HTML5,body等相关知识,匿名希望在学习及工作中可以帮助到您
本文主要介绍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指南-1.html5全局属性(html5 global attributes)深入理解_html5教程技巧
  • 2017-08-06HTML5的video标签的浏览器兼容性增强方案分享
  • 2017-08-06HTML5的结构和语义(4):语义性的内联元素
  • 2018-12-03HTML5移动端-viewport的详解
  • 2018-12-03HTML5的classList属性操作CSS类的使用详解
  • 2018-12-03详解HTML5实现微信拍摄上传照片的功能
  • 2018-12-03H5 语义化标签介绍
  • 2018-12-03如何使用 HTML5 技术适配不同分辨率的设备?
  • 2017-08-06字中字效果的实现【html5实例】
  • 2018-12-03小强的HTML5移动开发之路(42)——HTML4与HTML5文档结构比较

文章分类

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

最近更新的内容

    • HTML5制作表格样式
    • IE8不兼容rgba()如何处理
    • 各视频站做到自动切换flash和html5播放器的难度有多大?
    • vue.js-div怎么隐藏滚动条
    • Html5大文件断点续传实现方法
    • html5本地存储storage实例详解
    • 实现页面跳转并能传值的实例详解
    • 有关H5中轮播图的制作方法
    • 在HTML5在线预览PDF格式的代码
    • 响应式和自适应有什么区别

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

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