Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 50 - CoreGPT(Podar)_Flipbook_C8
P. 50

    Ensure that an image which we want to insert on the web page should be saved at the same
                      location where we have saved our HTML file. If we want to insert an image from any other
                      location, we need to provide the complete path of the image to the SRC attribute.

                      For example, if our image is saved in the My Projects folder inside the Documents folder of
                      computer then the path of the image will be ~/Documents/My Projects/lily.jpg.

                       Clickipedia

                        Some of the image formats supported by HTML are Joint Photographic Experts Group (JPEG),
                        Graphics Interchange Format (GIF) and Portable Network Graphics (PNG).

                             Restart

                            A list is a collection of related items.

                            There are three types of lists—ordered, unordered and definition list.
                            The <LI> tag is used to define an item in the list.
                            Table represents data in the form of rows and columns.

                            The <TR> tag is used to create a row in a table.
                            The <TD> tag is used to insert data into cells.

                            While surfing the Internet, you might have seen the moving advertisements in the form
                           of text or images.
                            Images and other graphical elements such as drawings, paintings and charts enhance
                           the look and feel of a web page.

                                                               Checkpoint

                      A.  Tick ( ) the correct option.

                         1.  Which tag allows the user to insert a table in a web page?
                            a.  <IMG>                                        b.  <TABLE>

                            c.  <A>                                          d.  <LI>

                         2.  Which of the following attributes is not used with the <IMG> tag?

                            a.  SRC                                          b.  HEIGHT

                            c.  FRAME                                        d.  ORDER

                     48     Premium Edition-VIII

| 45 46 47 48 49 50 51 52 53 54 55 |