Menu

Insert audio

Leslie Kaye

Insert Audio <audio> tag

The <audio> tag embeds an audio file in your web page. For further information and options see <audio> tag at W3Schools

  • Audio file src: Enter the local file name of the audio or the full http:// URL. Use the Paste button to enter this from the Clipboard or browse to Open a File. Note: a local disc file must already be stored in or below your Documents\Websites(my website) folder and uploaded to the web server - see [Add files].
  • Select the correct MIME type then click the Add button to add the audio to the <source> sets.
  • Alterntate Text: (optional) Enter an alternate description to be shown in web browsers unable to play the audio
  • Class: (optional) Enter the CSS class name where you have already defined a CSS style for your audio frame
  • Style: (optional) Enter a CSS style for your audio frame
  • Other Attributes: (optional) Enter any other attributes to be included within the <audio> tag.

The src attribute of the <audio> tag is unsupported by the wizard. Using <source> sets offer more flexibility.


Related

Wiki: Add files
Wiki: Editing files

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.