Export (0) Print
Expand All
2 out of 3 rated this helpful - Rate this topic

src property

The address or URL of the a media resource (videoaudio) that is to be considered.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section Explorer 9



URL = object.src

Property values

Type: String

The address or URL of a media resource.

Standards information


This property overrides a source element if both are used in a document.

See also

audio element
audio object
track element
track object
video element
video object
How to use HTML5 to play video files on your webpage
How to use HTML5 to Add an Audio Player to your Webpage
Make your videos accessible with Timed Text Tracks



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.