HTML audio tag

HTML audio tag

Hi,

I have written a simple html page to play audio file, I m using audio tag as shown below:

when I open the page using Chrome, it works fine(plays audio).

But when I put the same file in tomcat server and when I tried to open the file in chrome, it is not playing the audio.

pls anyone help me in solving this issue.?

View Answers

Ads









Related Tutorials/Questions & Answers:
HTML audio tag
HTML audio tag  Hi, I have written a simple html page to play audio file, I m using audio tag as shown below: Your browser does not support the audio tag. when I open the page using Chrome, it works fine(plays audio
HTML5  audio tag example, Use of audio tag  in HTML5.
HTML5  audio tag example, Use of audio tag  in HTML5. Introduction:In this section, you will see the use and implementation of audio tag in HTML5. The <audio> tag is used to add audio in web page or HTML page. When
Advertisements
HTML5 audio autoplay, Use of autoplay attribute in audio tag.
<!DOCTYPE html > <html > <head> <title>Audio Tag...HTML5 audio autoplay, Use of autoplay attribute in audio tag. Introduction:The autoplay is an audio tag attribute. It is only supported by HTML5. When
HTML5 audio autobuffer, Use of autobuffer attribute in audio tag.
HTML5 audio autobuffer, Use of autobuffer attribute in audio tag. Introduction:The autobuffer attribute has Boolean value. It is available in audio tag... in audio tag file; music will start buffering automatically . Declaration
HTML5 audio loop, Use of loop attribute of audio tag in  HTML5.
HTML5 audio loop, Use of loop attribute of audio tag in  HTML5... value either true or false. If it is available in audio tag, music file... Description loop Boolean If it is presented in audio tag. Music
HTML text tag
HTML text tag   How to wrap text in HTML code without changing the text format
HTML5 audio controls, Discuss the controls attribute of audio tag.
HTML5 audio controls, Discuss the controls attribute of audio tag... on browser. It supports only Boolean value. If it is present in audio tag... in audio tag file; music controls will be display on screen. Declaration
HTML marquee tag
HTML marquee tag  What is Marquee Tag in HTML?  Marquee Tag in html rolls the text horizontally or vertically based on the parameters. A simple syntax to use marquee is as follows: <marquee>Hello World<
HTML - base tag example.
HTML - base tag example. Description : The base tag is a HTML tag...;title>HTML is a markup language</title> </head> <body> <h1>HTML -- base tag. </h1> &nbsp;<a href="
HTML - Image tag.
HTML - Image tag. Description : HTML supports two type tags. 1-Singular tag... and end tag. The img tags is used for embedding image in HTML page...;h1>Example of HTML image tag.</h1> <img src="RI
HTML - textarea tag example.
HTML - textarea tag example. Description : It is a input tag. You can enter...; <head> <title>HTML is a markup language</title> </head> <body> <h1>HTML -- textarea tag Example. </h1>
HTML -- form tag.
HTML -- form tag. Description : HTML provides a form tag. It takes user... within form tag. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD... language</title> </head> <body> <h1>HTML form tag
HTML - Q (quotation) tag.
HTML - Q (quotation) tag. Description : It generates a quotation over the text. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...;/head> <body> <h1>HTML -- q&nbsp; tag.</h1> <
HTML - menu tag example
HTML - menu tag example Description : The <menu> is a tag of HTML...>HTML -- menu tag.</h1> <p>Creates a menu list... html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "
HTML - I tag example.
HTML - I tag example. Description : It is a text formatting tag. It display...>HTML -- I tag Example. </h1> <p> Roseindia Technology Pvt...;head> <base href="http://roseindia.net"> <title>HTML
HTML - bold tag.
HTML - bold tag. Description : The bold tag is also a font tag. Which... within bold tag will be display as bold. Code : <!DOCTYPE html...; <h1>Example of HTML image tag.</h1> <span style="font
HTML font tag.
HTML font tag. Description : It is a HTML tag, which is used for changing... : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...;html xmlns="http://www.w3.org/1999/xhtml"> <head> <
working of a div tag in html
working of a div tag in html   !DOCTYPE html PUBLIC "-//W3C//DTD....dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
img tag of HTML
img tag of HTML  How to pass a variable as a source(src) in img tag? I'm using <% %> to call variables of servlet on a JSP page. And want to pass one of the variables called as a src for img tag. How can This be done
Applet Tag Parameters,Applet Tag in HTML
to applets are: First, add the PARAM tag (with values) to the HTML source file... <APPLET> Tag Parameters: The <PARAM> Tag... the applet's operation. APPLET parameters stored in the PARAM tag actually have little
HTML line break tag
HTML line break tag. The HTML Line break tag <br> is used to add a line... web page. Its very easy you just have to write <br> tag in your html page... <br> tag. This tag is used to add a line break in HTML page
Tag Inside Table in HTML
Tag Inside Table in HTML     ... in HTML.In this code we define a HTML page and show you to create a tag inside a Table in HTML. The following tags used in code to create tag inside table in HTML
Store image from html img tag into mysql db using java
Store image from html img tag into mysql db using java  Hi. How to get the image displayed in the < img > tag of HTML and store it in the mysql database using java? Thanks in advance
Html tag inside out implicit object
Html tag inside out implicit object   ... a html tag inside a out object. out object is used to display the content on the browser. To make this program run use out object inside which define some html
how to call servlet from html page at anchor tag ?
how to call servlet from html page at anchor tag ?  I have a very different problem as i am using netbeans ide 6.9 ml to make a website in java... buttons image and for referrence i use anchor tag {for ex: ()} to go
how to retrieve image from mysql database using java and show it in HTML img tag ?
how to retrieve image from mysql database using java and show it in HTML img tag ?  how to retrieve image from mysql database using java and show it in HTML img tag
html
or the End Tag is defined as </> . The whole HTML document is enclosed...html  For what is used HTML?   Using HTML we can create a Web Page which can be viewed through a Web Browser over Internet. HTML describes
HTML tags, Definition of applet tag in HTML5.
HTML tags, Definition of applet <applet> tag in HTML5. In this section, we will define applet tag. HTML5 does not support applet tag. Applet tag... program that can be embedded into HTML pages. Java applets runs on the java
HTML tags, Definition of basefont <basefont > tag in HTML5.
HTML tags, Definition of basefont <basefont > tag in HTML5. HTML5 does not support basefont tag. But it is supported by HTML4.01. The basefont tag.... HTML5 uses CSS instead of basefont tag
HTML tags, Definition of acronym <acronym> tag.
HTML tags, Definition of acronym <acronym> tag in HTML5. In this section, we will define acronym tag. HTML5 does not support acronym tag. Acronym tag is supported by HTML4.01. It is used for defining acronym of text. Output
HTML5 video element, Implementation of &lt;video&gt; tag.
HTML5 video element, Implementation of <video > tag. Introduction:The <video> tag is used for adding video or media file in HTML document. It is not present in HTML4.01. It is not only for video, you can use audio
Tomahawk documentBody tag
="The documentBody tag is equivalent to HTML <...; The documentBody tag is equivalent to HTML &lt;body&gt; tag. <input type="...Tomahawk documentBody tag   
HTML5 html tag, Definition of &lt;html&gt; tag in html5
HTML5 html tag, Definition of <html> tag in html5 In this tutorial we... of the html document. HTML tag contains all other html tag  within it except <DOCTYPE> tag ,<DOCTYPE> tag is located before the html opening
Tomahawk htmlTag tag
;    This tag is used to use html tag for its child... it within <t:html> tag and set its value as "b" because in html... to value attribute then all its child component are rendered but no no html tag
HTML5 dfn tag, Definition of  &lt;dfn&gt; tag in html
HTML5 dfn tag, Definition of  <dfn> tag in html In this tutorial we will inform you about the use and implementation of the <dfn> tag. The <dfn> tag defines the term or word which is to be defined. It defines
HTML 5 &lt;table&gt; Tag, Definition of &lt;table&gt; tag in html5
HTML 5 <table> Tag, Definition of <table> tag in html5 In this discussion, We will introduce about the use of <table> tag in html5. This tag is used to create the table in the html document . Simple table can have any
HTML5 audio reference
HTML5 audio reference  Hi, Tell me the best url to learn HTML5 audio tags with examples. Thanks   Hi, Learn how to use HTML5 audio tags to play the audio on web page. The HTML5 audio tag is used to play the video
Simple HTML example
Simple HTML example In this section we will give you very simple example of a HTML page. After reading this page you should be able to create simple HTML pages for your website. HTML is used to create web pages for websites. You
HTML 5 caption Tag, Definition of &lt;caption&gt;tag in html5
HTML 5 <caption> Tag, Definition of <caption> tag in html5 In this discussion we will introduce about the use of <caption> tag in html5. This tag is used to create the caption of  the table. The <caption>
HTML5 &lt;ol&gt; tag, Example of &lt;ol&gt; tag in html 5
HTML5 <ol> tag, Example of <ol> tag in html 5 In this tutorial, We will discuss about <ol> tag in html5. The <ol> tag is used... by <li> tag and <ol> tag must have opening and closing tag
HTML5 &lt;ul&gt; tag, Example of &lt;ul&gt; tag in html 5
HTML5 <ul> tag, Example of <ul> tag in html 5 In this tutorial, We will discuss about <ul> tag in html5. The <ul> tag is used... of list . In The unordered list the list is created by <li> tag, and <
Tomahawk selectBooleanCheckbox tag
Tomahawk selectBooleanCheckbox tag          This tag renders an html "input" tag whose type is set to "
HTML 5 tr Tag, Definition of &lt;tr&gt; tag in html5
HTML 5 tr Tag, Definition of <tr> tag in html5 In this discussion, We will introduce about the use of <tr> tag in html5. This <tr> tag is used for defining the row of cells in a table. The<tr> tag is used within
HTML 5 thead Tag, Example of &lt;thead&gt; tag in html5
HTML 5 <thead> Tag, Example of <thead> tag in html5 In this discussion, We will introduce about the use of <thead> tag in html5. This tag... have zero or more <tr> tag inside the <thead> tag. The <thead>
html
html  How to develope a web page with Audio and vidios? give One example
html
html  diffrence between html and xml

Ads