Page 18 - PortGPT_V2.1_C8_Flipbook
P. 18

2                          Images, Links, Audio,





                                                             Video in HTML










                      Let’s surf
                           Inserting Images                                Creating Marquee
                           Linking Web Pages                               Adding Audio & Video



                   Let’s PLug-in


                     Is it necessary to add images and graphics to a webpage? Describe your views briefly.

                     ____________________________________________________________________________________


                     ____________________________________________________________________________________

                     ____________________________________________________________________________________





                  The websites we generally visit have lots of images as part of the web page. We also notice that all the
                  web pages are interlinked with each other. Sometimes, we see that a web page is divided into various
                  sections. HTML allows us to implement all these functionalities in our web pages. In this chapter, we
                  will learn about inserting images, creating marquee, linking web pages, and inserting audio and video
                  on a web page.



                         INSERTING IMAGES



                  Images and other graphical elements such as drawings, paintings and charts enhance the look and
                  feel of a web page. All these graphical elements are considered as image in the web page.
                  HTML also allows us to insert images inside the web pages through the <IMG> tag. The <IMG> tag is
                  a container tag and has various attributes.
                  The attributes of the <IMG> tag are:

                  •  SRC: It specifies the source or URL of the image that has to be inserted in the web page. For
                      example,

                      <IMG SRC="C:/Mydocuments/lily.jpg">



                  16    Premium Edition-VIII
   13   14   15   16   17   18   19   20   21   22   23