Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 64 - 2620_Birla Open Mind C-8
P. 64

    <head>
                      <title>Inserting Image</title>

                  </head>
                  <body>

                      <b>Inserting image on the web page</b>
                      <img src="lily.jpg" width="200" height="200" style="float: right; border: 2px
                  solid black;">
                  </body>

                  </html>

                                                           Image inserted with border

                  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
                  D: drive of computer then the path of the image will be D:\lily.jpg.

                           Factbot

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

                           Double Tap                                                 Century   #Information Literacy
                                                                                        21 st
                                                                                        Skills
                         Write any three attributes of <IMG> tag.

                      62  Premium Edition-VIII

| 59 60 61 62 63 64 65 66 67 68 69 |