Horje

Example of HTML src Attribute in Source

It will play an audio player with two source files.

index.html
Example: HTML
 <audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio> 

Output should be:

Example of HTML src Attribute in Source



Single Articles
Examples of HTML src Attribute in Audio HTML Attributes
Example of HTML src Attribute in Embed HTML Attributes
Example of HTML src Attribute in Iframe HTML Attributes
Example of HTML src Attribute in Img HTML Attributes
Example of HTML src Attribute in Input HTML Attributes
Example of HTML src Attribute in Script HTML Attributes
Example of HTML src Attribute in Source HTML Attributes
Example of HTML src Attribute in Track HTML Attributes


Related Articles
HTML Attributes HTML Attributes
How to create HTML href Attribute HTML Attributes
HTML src Attribute HTML Attributes
How to create HTML width and height Attributes HTML Attributes
How to create HTML alt Attribute HTML Attributes
How to create HTML style Attribute HTML Attributes
How to create lang Attribute HTML Attributes
How to create HTML title Attribute HTML Attributes
How to create HTML Single or Double Quotes HTML Attributes
HTML Headings HTML Attributes
How to create HTML Headings HTML Attributes
Headings Are Important HTML Attributes
How to create HTML Bigger Headings HTML Attributes

Type :
html
Category :
Web Tutorial
Sub Category :
HTML Attributes
Uploaded by :
Admin