Home arrow HTML arrow Page 2 - HTML 5: An Introduction

HTML 5: An Introduction

This article serves as an introduction to HTML 5. This version of HTML is not supported in all browsers. Even some browsers that claim to support HTML 5 do not support all the features available in this version of HTML. Although supporting some/all features of a language is not new to browsers overall, what is new about this is that HTML 5 itself is new, and some of its features are works in progress, especially when it comes to user security. This article is the first of two parts.

Author Info:
By: Ayad Boudiab
Rating: 5 stars5 stars5 stars5 stars5 stars / 4
October 25, 2010
  1. · HTML 5: An Introduction
  2. · HTML 5 Audio and Video

print this article

HTML 5: An Introduction - HTML 5 Audio and Video
(Page 2 of 2 )

The audio element adds a standard way of supporting audio on an HTML page without plugins. This element can play a sound file or an audio stream. The audio element currently supports three formats: Ogg Vorbis, MP3, and Wav. The control attribute is used to add play, pause and volume controls. Here is an example that shows how the audio control is used:

By the same token, the video element adds support for videos on an HTML page without plugins. There are two supported video formats for the video element: Ogg and MPEG 4. An example for the video control will look like the following:


Please check back soon, as we'll be covering HTML 5's new elements in the conclusion to this article.

DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus

- Does HTML5 Need a Main Element?
- Revisiting the HTML5 vs. Native Debate
- HTML5: Not for Phone Apps?
- HTML5 or Native?
- Job Hunting? Freelancer.com Lists This Quart...
- HTML5 in the News
- Report: HTML5 Mobile Performance Lags
- The Top HTML5 Audio Players
- Top HTML5 Video Tutorials
- HTML5: Reasons to Learn and Use It
- More of the Top Tutorials for HTML5 Forms
- MobileAppWizard Releases HTML5 App Builder
- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials