Page 66 - Code_GPT_Class_8
P. 66

</HEAD>

              <BODY>
                <H1 STYLE="TEXT-ALIGN: center; COLOR: red;">Welcome to the Musical World</H1>

              <P STYLE="TEXT-ALIGN: center;">
              <BR>

              <IMG SRC="MusicalNote.jpg">
              </P>

                <AUDIO SRC="Flute.mp3" CONTROLS AUTOPLAY>
                </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     STYLE="TEXT-ALIGN:         center;      COLOR:
              red;">Welcome to the World of Movies</H1>

                <P STYLE="TEXT-ALIGN: center;">
              <IMG SRC="VideoLogo.png" WIDTH="100"
              HEIGHT="100">

                </P>
                <VIDEO SRC="Rain.mp4" WIDTH="300" HEIGHT="300" CONTROLS AUTOPLAY>

                </VIDEO>
              </BODY>

              </HTML>
              The Web browser displays the video and starts playing it. However, in some browsers, you may 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
              specific media 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.




                        CodeGPT (Ver. 4.0)-VIII
                 64
   61   62   63   64   65   66   67   68   69   70   71