1. Computing & Technology

Discuss in my forum

<source>

By , About.com Guide

source Description:

The source tag enables multiple media sources to be specified for audio and video.

The source tag is new in HTML 5.

DTD: HTML5: <!doctype html>

source Web Browser Support:

HTML Versions

source Attributes:

Global attributes, event attributes and:
  • media
  • src
  • type

source End Tag:

Forbidden

source Contents:

Nothing. The source tag is a void element.

Tags valid as content: None

source Usage:

Used in tags that embed multimedia.

Tags valid as container: audio, video

source Special Notes:

The most common reason to use the source tag is to identify multiple versions of the source media so that if a browser can't play one there are fallback options.

More source Information:

©2012 About.com. All rights reserved.

A part of The New York Times Company.