HTML - Advanced презентация

Содержание

Слайд 2

About me Mikhail Kolesnikov Software Engineer Skype: kmisha@outlook.com E-mail: mikhail_kolesnikov@epam.com

About me

Mikhail Kolesnikov
Software Engineer
Skype: kmisha@outlook.com
E-mail: mikhail_kolesnikov@epam.com

Слайд 3

Agenda New features HTML5 Semantics elements data-* attributes New types

Agenda

New features HTML5
Semantics elements
data-* attributes
New types for
Audio & Video
Inline

SVG and MathML
Слайд 4

HTML5 related APIs

HTML5 related APIs

Слайд 5

Semantic HTML5 New Elements

Semantic

HTML5

New

Elements

Слайд 6

New element section article aside main header footer nav dialog

New element
section
article
aside
main
header
footer
nav
dialog
figure

New semantic elements

Deprecated
acronym
applet
basefont
big
center
dir
font
frame
frameset
isindex
noframes
strike
tt

Слайд 7

... ... … ... ... ... New semantic elements



  
  
     

...

     
     

        

     

     
     
...

     
...

 

New semantic elements

Слайд 8

data-* HTML5 attributes

data-*

HTML5

attributes

Слайд 9

data-* attributes id="msglist" data-user="bob" data-list-size="5" data-maxage="180” > var msglist =

data-* attributes

id="msglist"
data-user="bob"
data-list-size="5"
data-maxage="180”
>

var msglist

= document.getElementById("msglist");
var show = msglist.getAttribute("data-list-size");
msglist.setAttribute("data-list-size", show+3);
Слайд 10

data-* attributes var msglist = document.getElementById("msglist"); var show = msglist.dataset.listSize; msglist.dataset.listSize = show+3;

data-* attributes

var msglist = document.getElementById("msglist");
var show = msglist.dataset.listSize;
msglist.dataset.listSize =

show+3;
Слайд 11

types HTML5 New

types

HTML5

New


Слайд 12

New types

New types

Слайд 13

New types https://www.w3schools.com/tags/att_input_type.asp

New types



step="1" min="-5" max="10" value="0" />

https://www.w3schools.com/tags/att_input_type.asp

Слайд 14

New types

New types

Слайд 15

HTML5 New attributes

HTML5

New attributes

Слайд 16

Placeholder Autofocus Required Pattern New attributes type="text" pattern="2-[0-9]{3}-[0-9]{3}" />

Placeholder
Autofocus
Required
Pattern

New attributes





type="text"
pattern="2-[0-9]{3}-[0-9]{3}"
/>
Слайд 17

HTML5

HTML5

Слайд 18

autoplay> type="video/ogg" /> type="video/mp4" /> Your browser does not support the element. https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video



  
     

type="video/ogg" />
        
     
  

https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video

Слайд 19

autoplay autobuffer height loop preload poster src width

autoplay
autobuffer
height
loop
preload
poster
src
width

Слайд 20

HTML5

HTML5

Слайд 21

Your browser does not support the element. https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all




  



https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all

Слайд 22

autoplay autobuffer controls loop preload src

autoplay
autobuffer
controls
loop
preload
src

Слайд 23

HTML5 Media events

HTML5

Media events

Слайд 24

Media events abort canplay ended error loadeddata loadstart pause https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_av_event_loadeddata

Media events

abort
canplay
ended
error
loadeddata
loadstart
pause

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_av_event_loadeddata

play
progress
ratechange
seeked
seeking
suspend
volumechange
waiting

Слайд 25

function PlayVideo() { var v = document.getElementsByTagName("video")[0]; v.play(); } Media events













Media events

Слайд 26

HTML5 Inline SVG and MathML

HTML5

Inline SVG and MathML

Слайд 27

Inline SVG and MathML π ⁢ r 2 . HTML5

Inline SVG and MathML



π



r
2

.


HTML5 support for scalable vector graphics (SVG) content and MathML for mathematical formulas

Слайд 28

W3 Schools / HTML5 Tutorials Point / HTML5 Tutorial 28

W3 Schools / HTML5
Tutorials Point / HTML5 Tutorial
28 HTML5 Features, Tips,

and Techniques you Must Know
How to Use The HTML5 Sectioning Elements
webref.ru
MDN HTML Guide

Links

Имя файла: HTML---Advanced.pptx
Количество просмотров: 79
Количество скачиваний: 0