揭秘HTML5和CSS3ppt课件.ppt
《揭秘HTML5和CSS3ppt课件.ppt》由会员分享,可在线阅读,更多相关《揭秘HTML5和CSS3ppt课件.ppt(44页珍藏版)》请在三一办公上搜索。
1、揭秘HTML5和CSS3,鲁超伍|Adamhttp:/,关于我,网名Adam,热爱互联网,2004年开始接触前端方面的东西,多年互联网前端开发经验,见证了前端开发这个行业的兴起。现就职于淘宝网北京UED(前端开发工程师),花名空雁。追求卓越,不懈努力,做一个专业的前端开发工程师!Stay Hungry,Stay Foolish!,网站标准的简单历史,XHTML 1,Content,CSS2.1,Presentation,2001-2006,网站标准的简单历史,WHATWG?Web Hypertext Application Technology Working GroupW3CWord Wid
2、e Web Consortium,2004-Present,网站标准的简单历史,HTML5,Content,CSS3,Presentation,2007-Present,HTML5,HTML5 DEMO,HTML发展历史,1998,2000,2002,2004,2007,HTML4.0,XHTML1,XHTML2,WHATG,HTML5,支持HTML5的浏览器,Opera 9.5+Cross-document messagingServer-sent eventsWeb Forms 2.0Canvas and videoSafari 3.1+and tagsOffline data stora
3、ge APIWebkit(Iphone/Chrome/Android/Nokia s60/Palms WebOS),支持HTML5的浏览器,FireFox 3.1+offline storage and canvasGeolocation/Web Workers/ContentEditableGecko(more HTML5 APIS)Internet Explorer 8.0+embed element and contentEditable attributecross-document messaging,HTML5技术概览,HTML5新增和移除的元素HTML5基本布局HTML5对表单的
4、支持HTML5 DOM变化HTML5的Javascript APIsCanvasVideo/AudioDrag&DropGeolocationApplication CacheDatabase StorageX-Document Messaging,HTML5新增的元素,多媒体及交互式元素video,audio.details,menu,command.结构元素header,footer,section,article,nav.块级语义及行内元素aside,figure,dialog.time,meter,mark,progress.表单控件email,url,datetime,number,
5、range,color.HTML5新增的属性contenteditable,contextmenu,data-*,hidden,item,itemprop,subject,role,aria-*,spellcheck,draggable,irrelevant,template,placeholder,autofocus,required,async,manifest.HTML5新增的事件onabort,onbeforeunload,oncontextmenu,ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondr
6、op,onerror,onmessage,onmousewheel,onresize,onscroll,onunload.,HTML5移除的元素,移除的元素font,center,strike,big,s,u,acronym,applet,dir.移除的属性如link和a元素的rev属性,link元素的target属性,td的scope属性,script元素的language属性,body元素的alink,link,text和vlink属性.,HTML5基本布局,HTML4,HTML5,HTML5 Demo,HTML5对表单的支持,新的控件类型,文件上传控件重复的模型add,remove,mo
7、ve-up,move-down内建表单验证,XML Submissionapplication/x-www-form+xml,ID(请使用Email注册)密码 出生日期 国籍 个性头像+保密问题 答案 删除,http:/,HTML5 DOM变化,getElementsByClassNameSelector APIdocument.querySelector()document.querySelectorAll()Traversal API.nextElementSibling.previousElementSibling.firstElementChild.lastElementChild.c
8、hildren,HTML5的Javascript APIs,Web Forms2.0,Messaging,Offline Applications,History API,Video&Audio,Drag&Drop,Undo,Canvas,Editable,X-Domain,Storage,Geolocation,Local Database,Video&Audio,Download song,Canvas,是一个新的HTML元素,这个元素可以被Script语言(通常是JavaScript)用来绘制图形。例如可以用它来画图、合成图象、或做简单的(和不那么简单的)动画。var canvas=do
9、cument.getElementById(canvas),context=canvas.getContext(2d);context.fillStyle=rgb(0,0,200);context.fillRect(10,10,50,50);context.save();context.restore();context.scale(x,y);context.rotate(angle);context.translate(x,y);.,Drag&Drop,拖拽事件:dragstart,dragend,dragenter,dragleave,dragover,drag,dropfunction
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 揭秘 HTML5 CSS3ppt 课件

链接地址:https://www.31ppt.com/p-5305461.html