Page 72 - TP_Prime_V2.2_Class8
P. 72

<H1 STYLE="TEXT-ALIGN: center">Valley of Flowers</H1>

                  <IMG SRC="Valley_of_Flowers.jpg" ALT="Valley of Flowers" STYLE="BORDER:
                  4px SOLID BLACK; HEIGHT: 200px; WIDTH: 250px;">

                    <BR>
                    <A HREF="https://uttarakhandtourism.gov.in/destination/valley-of-
                  flowers">Click Here to Visit Official Website</A>
           Prime (Ver. 2.2)-VIII  </HTML>
                  </BODY>
















          70


                                                                   Output

                                    Imagine, creating a website that hosts interactive debates and discussions. How
                                    would you use HTML to structure the conversation and incorporate multimedia
                                    content?  Design  a  web  page  that  would  foster  meaningful  exchanges  among
                                    participants.



                   Adding Audio & Video


                  The HTML5 <audio> and <video> tags allow us to add media (audio and video) to a website.
                  To add media, we are required to set src attribute to identify the media source and include
                  the "controls" attribute to allow users to play, pause and control the media:

                  •   Autoplay  Attribute:  The  "Autoplay"  attribute  is  a  boolean  attribute  that  plays  the
                     video automatically as soon as the page loads

                  •   Controls Attribute: The "control" attribute allows users to gain control over how the
                     video is played.


                   Adding Audio


                  We use <audio> tag to embed sound content in an HTML document.

                  <!DOCTYPE HTML>
                  <HTML>

                  <HEAD>
                  <TITLE>Audio</TITLE>
   67   68   69   70   71   72   73   74   75   76   77