HTML Practice Exercise Four

Question 1 :
How will you add audio inside a browser using HTML?
<audio  = 'myaudio.mp3' controls >
  
</audio>  
          
Question 2 :
How will you add controls in <audio> element?
<audio src = 'myaudio.mp3'  >
  
</audio>  
          
Question 3 :
which attribute will be used to play audio for infinite times?
<audio src = 'myaudio.mp3' controls  >
  
</audio>  
          
Question 4 :
Which element will be used to add multiple formats of audio for a single audio file.
<audio src = 'myaudio.mp3' controls >
           src = 'myaudio.mp3' type='audio/mp3'  
           src = 'myaudio.ogg' type='audio/ogg'  
</audio>  
        
Question 5 :
How will you add video into your website?
 src = 'myvideo.mp4' controls                    
  
        
Question 6 :
Add a video that will play automatically when page is loaded!
<video src = 'myvideo.mp4' controls  >                   
  
        
Question 7 :
Fill in the element to insert subtitles in video
<video src = 'myvideo.mp4' controls >
        
            src = 'mycaption.vtt'
            kind = 'captions'
            label = 'English'
            srclang = 'en'
        > 
</video>
        
Question 8 :
If a video contains several subtitles English, Urdu and Arabic. Inorder to make Urdu as primary subtitle, which attribute will be added in track?
<video src = 'myvideo.mp4' controls >
        <track
            src = 'mycaption1.vtt'
            kind = 'captions'
            label = 'English'
            srclang = 'en'
        >
        <track
        src = 'mycaption2.vtt'
        kind = 'captions'
        label = 'Urdu'
        srclang = 'ur'
        
        >
        <track
        src = 'mycaption3.vtt'
        kind = 'captions'
        label = 'Arabic'
        srclang = 'ar'
        >   
</video>