ad

Showing posts with label audio tag in html code. Show all posts
Showing posts with label audio tag in html code. Show all posts

Tuesday, January 9, 2024

audio tag in html



         html audio tag 


 1] Html <audio> tag used to define sound and music ,audio .

2]  audio tag  support file format  

            MP3

            WAV

            OGG

 3]  <audio> tag  contains one or more <source> tag .

   syntax  :-  audio tag

        <audio>

              :

       </audio>


 html <audio> tag :-

          Program 


<!DOCTYPE html>
  <html lang="en">
  <head>
    <title>html audio tag </title>
  </head>
  <body>
    <audio controls>
        <source src="cat.mp3" type="audio/mpeg">
        your browser does not
support the html audio tag.

    </audio>
  </body>
  </html>




 html <audio> tag :-
                
                     Output
HTML audio tag/output

Related Post 

inline css in html

bdo tag in html

php using leap year program