Page 29 - PortGPT_V2.1_C8_Flipbook
P. 29

When we click on any link, we will reach to linked section as shown:




























                                                                Output


                                                             Tech Hint
                    To create a hyperlink to an email:

                    <A HREF="mailto:orangeeducation123@gmail.com">Demo</A>




                  Let’s Practice


                   Write one line HTML code to create a hyperlink with the text "Display" which opens the Display.
                   html web page when clicked.


                        ADDING AUDIO & VIDEO


                 The HTML5 <AUDIO> and <VIDEO> tags allow us to add media 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. The AUTOPLAY attribute is used to play the
                 audio/video automatically when the web page is load in the web browser.

                      Adding Audio

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

                 <!DOCTYPE HTML>
                 <HTML>

                 <HEAD>
                 <TITLE> Audio </TITLE>

                 </HEAD>

                                                                                 Images, Links, Audio, Video in HTML  27
   24   25   26   27   28   29   30   31   32   33   34