Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 112 - 2632_CodeMind
P. 112

    7                              Images, Links and

                                                            Frames in HTML5

                         Let’s surf

                             Inserting Images                               Linking Web Pages
                             Adding Audio & Video                           Frames
                             Creating Forms in HTML

                                                                                                     21 st   #Information Literacy
                      Let’s PLug-in                                                                Century   #Critical Thinking
                                                                                                    Skills

                        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 creating frames.

                            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 an
                     empty tag and has various attributes.

                     The attributes of the <IMG> tag are:
                        SRC: It specifies the source location or URL of the image that has to be inserted in the web page.
                       For example,

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

                                                                                    Images, Links and Frames in HTML5  111

| 107 108 109 110 111 112 113 114 115 116 117 |