Page 67 - Plus V4 with Adobe class 8
P. 67

<IMG SRC = "D:\MusicalNote.Jpg">
            </P>

            <AUDIO SRC = "D:\flute.mp3"
            AUTOPLAY CONTROLS>
            </AUDIO>
            </BODY>
            </HTML>



            Adding Video

            We use <video> tag to embed video in an HTML document.


            <!DOCTYPE HTML>
            <HTML>

              <HEAD>

              <TITLE> Video </TITLE>
              </HEAD>

            <BODY>

              <H1 ALIGN = "CENTER"> <FONT COLOR = "Red">

              Welcome to the World of Movies </FONT></H1>
            <P ALIGN = "CENTER">

            <IMG SRC = "D:\VideoLogo.Png">

            </P>

            <VIDEO SRC = "D:\Rain.mp4"
            Width = "300" Height = "300"

            AUTOPLAY CONTROLS>

            </VIDEO>
            </BODY>

            </HTML>
            The Web browser displays the video and starts playing it. In some browsers, you need to click on the
            play button to start the video.

            The <audio> and <video> tags might not work in some browsers that do not support HTML5 and the
            file formats.

            WAV, MP3, and Ogg are the file formats currently supported to embed audio.

            MP4, WebM, and Ogg are the file formats currently supported to embed video.




                                                                               #Images, Links & Frames in HTML5  65
   62   63   64   65   66   67   68   69   70   71   72