Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 45 - 2609_Logiccode
P. 45

    <BODY>

                     <H2>What is Artificial Intelligence?

                     </H2>

                     <P>Artificial Intelligence is the ability of machines to simulate human
                     intelligence.</P>

                     <AUDIO CONTROLS AUTOPLAY LOOP>

                     <SOURCE SRC="Artificial_Intelligence.mp3"
                     TYPE="AUDIO/MPEG">                                                             To quickly switch
                                                                                                    between applications:
                     Your browser does not support the audio element.                           SHORT KEY    +

                     </AUDIO>                                                                         Alt       Tab

                     </BODY>

                     </HTML>
                     Code 11.  Write the HTML code to present the given web page using the <VIDEO> tag to embed
                              video on a web page.

                     <!DOCTYPE HTML>                                                    HTML provides the structural
                                                                                       skeleton of a web page, similar
                     <HTML>
                                                                                        to how natural formations like
                     <HEAD>                                                           mountains and valleys define the
                     <TITLE>Using video tag</TITLE>                                     landscape of an environment.
                     </HEAD>

                     <BODY>
                     <H2>What is Artificial Intelligence?

                     </H2>
                     <VIDEO WIDTH="320PX" HEIGHT="240PX"

                     CONTROLS AUTOPLAY>
                     <SOURCE

                     SRC="Artificial_Intelligence.mp4"
                     TYPE="VIDEO/MP4">

                     </VIDEO>
                     </BODY>

                     </HTML>

                         Construct an HTML document that combines a hyperlink, an image and an audio file.

                                                                                               Making Web Pages Alive  43

| 40 41 42 43 44 45 46 47 48 49 50 |