Page 68 - TP_Play_V2.2_Class8
P. 68

Double Tap                                                 Century   #Information Literacy
                                                                                    21 st
                                                                                    Skills
                     1.  What is Hyperlink?


                     2.  Write the syntax to create a hyperlink.



                     3.  Name any two CSS properties used to change the look and style of hyperlinks.





                   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
              so  the  user can  play  and  pause  the  media whenever required.  Some  commonly  used  elements  of
              <audio> and <video> tags are:

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

                  Controls Attribute: It 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>




                  66  Plus (Ver. 4.0)-VIII
   63   64   65   66   67   68   69   70   71   72   73