Foundation HTML5 with CSS3
Chapter 5 The video element may also contain one or more source elements, each pointing to a different video source. The battle ...
Embedding Media Listing 5-6. The video element with fallbacks for less capable browsers <video controls width="468" height="3 ...
Chapter 5 autoplay: A Boolean attribute that, when present, instructs the browser to automatically begin playing the video whe ...
Embedding Media Videos usually include two tracks in the same container file: a video track and an audio track. These two track ...
Chapter 5 <source src="video/Gamera-mobi.ogv" media="screen and (max-device-width: 600px)" type='video/ogg;codecs="theor ...
Embedding Media Subtitles are a transcription or translation of dialogue, for cases when the sound is available but may not be ...
Chapter 5 If you’d like to dive much deeper into how text tracks work (or soon will), consult the spec-in-progress at whatwg.org ...
Embedding Media </audio> </object> Required Attributes The object element doesn’t require any attributes. A data att ...
Chapter 5 Optional Attributes value: The value of the parameter. embed As the HTML5 spec states, the embed element is “an inte ...
Embedding Media Optional Attributes src: The URL of the external resource to embed. type: The content type of the embedded r ...
Chapter 5 support canvas will show the inner content just as if the outer canvas element didn’t exist. The fallback content shou ...
Embedding Media The canvas element is an ordinary citizen of the document so it can be styled similarly to any other element, ad ...
Chapter 5 Unfortunately, the only shape that’s quite that easy to draw is a rectangle. More interesting shapes require some slig ...
Embedding Media Figure 5-14. Ghostwriter Art Studio is an open-source demonstration of the canvas element, with a live drawing s ...
Chapter 5 Figure 5-15. The chart on the right is generated in a canvas element, derived from the table on the left Although the ...
Embedding Media Optional Attributes width: the width of the canvas in pixels. height: the height of the canvas in pixels. Im ...
Chapter 5 You can see the results in Figure 5-16; the image floats to the left side of the paragraph and the following text flow ...
Embedding Media <aside class="pull"> <q>… the most astounding super-science gadgetry ever conceived on th ...
Chapter 5 Listing 5-13. A background image applied to the body element body { background-image: url(images/background.png); } Th ...
Embedding Media Figure 5-20. The background now tiles horizontally but not vertically Likewise, a value of repeat-y will tile th ...
«
4
5
6
7
8
9
10
11
12
13
»
Free download pdf