HTML5 is the new standard for HTML documents. It is currently under development and, though it is not currently due to be fully implemented for over a decade from now, some of its elements are supported in Firefox 3.5 (or later), as well as the new Internet Explorer 9 beta. Microsoft has a number of HTML5 demos on their test drive page, most of which also work under Firefox. (Be sure to check out the “A New Day” sample if you have a compatible browser – this sample generates a sunrise scene using only CSS and no images).
Among our favorite HTML5 elements is the new video element. This element makes it much easier to insert a video into your webpage – you don’t have to worry about players or whether the user has Flash installed or messing around with complex scripts – it just works.
Using the code segment below, we have embedded a video of a flock of Sandhill Crane. If your browser supports the video element from HTML5 (such as Firefox 3.6), then you will see the video below. If you are using Internet Explorer 8, then you will see the message, “Your browser does not support the video tag”.
Your browser does not support the video tag.
Image credit: the World Wide Web Consortium, CC-BY-3.0.
|Enjoy Your 30-day Free Trial!|
|Learn how Inbound Marketing Software can help your business grow!|