Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 125 - 2632_CodeMind
P. 125

    Output
                      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.

                             FRAMES

                      HTML provides a feature to display more than one web pages on a single screen of the web browser.
                      These web pages are actually displayed using frames. Frames are the different sections or parts of
                      a web page. The <IFRAME> tag of HTML allows you to embed another HTML document within your
                      current web page. The iframe in HTML stands for Inline Frame. For example,

                               <IFRAME SRC="url" NAME="description">
                      Where, URL is the address of a web page which you want to display in a frame. The <IFRAME> tag
                      provides the following attributes:

                         SRC: It is used to specify the URL of the web page which you want to display in the frame.
                         HEIGHT: It is used to specify the height of the frame.
                         WIDTH: It is used to specify the width of the frame.
                         NAME: It is used to specify the name of the frame. This name can be used in the TARGET attribute

                        of the <A> tag.
                      Let us create a web page using the <IFRAME> tag.

                      <!DOCTYPE html>
                      <HTML>
                      <HEAD>
                      <TITLE> Frames </TITLE>

                      </HEAD>

                      124   Premium Edition-VIII

| 120 121 122 123 124 125 126 127 128 129 130 |