Html5
This presentation is the property of its rightful owner.
Sponsored Links
1 / 22

HTML5 PowerPoint PPT Presentation


  • 150 Views
  • Uploaded on
  • Presentation posted in: General

HTML5. Contents. HTML 5 待解决问题与优势 HTML5 与 HTML4 区别 Canvas 元素 Audio 与 Video 本地存储 离线应用程序 通讯 API. HTML5 待 解决问题 与优势. 待解决问题 Web 浏览器之间的兼容性很低,规范不统一,没有标准化 文档结构不够明确 Web 程序功能受到限制 优势 开发 WEB 程序更简单,提供更多 API 开发 HTML 更简洁,提供更多新的属性和元素,提供了大量可以替代脚本语言的属性标签. HTML5 与 HTML4 的区别. 语法的改变 新增元素和废除元素

Download Presentation

HTML5

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Html5

HTML5


Contents

Contents

  • HTML 5

  • HTML5HTML4

  • Canvas

  • AudioVideo

  • API


Html51

HTML5

  • Web

  • Web

  • WEBAPI

  • HTML


Html5 html4

HTML5HTML4

  • articleasidenavtimepubdate

  • addressfooterhgroupheader


Html5

  • HTML5


Html5

  • email urlnumber range Date pickers

    (date, month, week, time, datetime, datetime-

    local) search color

  • datalist

    keygen

    output

  • form

    input


Html5

API

  • HTML5mousedownmouseupmousemove

  • HTML5

    • draggabletrue


Canvas

Canvas

  • Canvas

  • JavaScript


Html5


Html5

  • HTML5 flash

  • HTML5VideoAudio

  • srcautoplaypreloadcontrolserror

  • playpauseloadcanPlayType

  • javaScript


Html5

Vedio type


Html5

Audio type


Html5


Html5

  • Web storage

    Cookies

    sessionStorage

    localStorage

  • SQLLite


Html5

  • HTML5 JavaScript

    <script type="text/javascript"> localStorage.lastname="Smith"; document.write(localStorage.lastname);

    </script>


Html5

  • web

    Manifest

    Web

  • manifest

  • manifest

    manifest


Html5

API

  • message

    Window.addEventListener();

    otherWindow.postMessage(message,targetOrigin)

    message

    targetOriginURL


Html5


Html5

API

  • Socket

    HTTP


Socket

Socket

Function connect

{

VarwebSocket= new WebSocket(ws://localhost:8005/socket);

Wensocket.open()

{ //socket

//WebSocket

readyState[webSocket.readyState]

}

webSocket.onMessage() { //}

webSocket.onClose() = function() { //socket }

}

Function send()

{ //

webSocket.send(data)

}

Function disconnect()

{ //

webSocket.close()

}


Thanks

Thanks


  • Login