HTML5 <video> - Take Control Using the DOM
The HTML5 <video> element also has methods, properties, and events.
There are methods for playing, pausing, and loading, for example. There are properties (e.g. duration, volume, seeking) that you can read or set. There are also DOM events that can notify you, for example, when the <video> element begins to play, is paused, is ended, etc.
The examples below...
You are here: » Home » All posts
HTML5 VIDEO
Many modern websites show videos. HTML5 provides a standard for showing them.
Video on the Web
Until now, there has not been a standard for showing a video/movie on a web page.
Today, most videos are shown through a plug-in (like flash). However, different browsers may have different plug-ins.
HTML5 defines a new element which specifies a standard way to embed a video/movie on a web page: the <video> element.
Browser...
HTML5 - New Elements
New Elements in HTML5
The internet has changed a lot since HTML 4.01 became a standard in 1999.
Today, some elements in HTML 4.01 are obsolete, never used, or not used the way they were intended to. These elements are removed or re-written in HTML5.
To better handle today's internet use, HTML5 includes new elements for better structure, better form handling, drawing, and for media content.
New Semantic/Structural Elements
HTML5...
HTML5 is The New HTML Standard
HTML5New Elements
New Attributes
Full CSS3 Support
Video and Audio
2D/3D Graphics
Local Storage
Local SQL Database
Web Applications
HTML5 Example:<video controls="controls" height="240" width="320">
<source src="movie.mp4" type="video/mp4"></source>
<source src="movie.ogg" type="video/ogg"></source>
<source src="movie.webm" type="video/webm"></source>
Your browser does not support the...
HTML Tutorial Part-5: HTML Paragraph and HTML Text Formatting
Paragraphs are defined with the <p> tag.
Example:<p>This is a paragraph</p>
<p>This is another paragraph</p>
Note: Browsers automatically add an empty line before and after a paragraph.
Don't Forget the End TagMost browsers will display HTML correctly even if you forget the end tag:
Example:<p>This is a paragraph
<p>This is another paragraph
The example above will work in most browsers,...
Subscribe to:
Posts (Atom)