html source tag


  Translation results:

英[sɔ:s]   美[sɔ:rs]   

n.root, origin; source, source of water; reason; person who provides information

vt. (obtained from...) ; initiate; provide information to...; seek the source (especially supply)

vi. Source of raw materials; origin; seek source; seek manufacturer (or provider)

Third person singular : sources plural: sources present participle: sourcing past tense: sourced past participle: sourced

html source tagsyntax

Role:Define media resources for media elements (such as <video> and <audio>).

Description: The<source> tag allows you to specify alternative video/audio files for the browser to select based on its support for media types or codecs.

Note: The <source> tag is a new tag in HTML 5.

html source tagexample

<!DOCTYPE html>
<html>
<body>

<audio controls>
<source src="//m.sbmmt.com/i/horse.ogg" type="audio/ogg">
<source src="//m.sbmmt.com/i/horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>

</body>
</html>

Popular Recommendations

Home

Videos

Q&A