Page 228 - DCAP109_GRAPHIC_TOOLS
P. 228

Unit 10: Working of Web Designing




                                                                                                Notes
                                        Figure 10.7: Alt Tag

















          Source: http://www.dezinerobotics.com/seo-checklist-for-developers/when-mousing-over-an-image-the-
          alt-tag-will-appear/
          If no alt or title tag is specified, the results vary depending on the browser and user settings.
          Some will show nothing, some will show the file name.

          10.2.4 Spacing Attributes

          If we need to add a spacing between the image and surrounding text, we can do so by defining
          vertical and horizontal space as shown below:


                 Example: <IMG SRC=”pumpkin.gif” ALT=”picture of a pumpkin” HEIGHT=100
          WIDTH=100 ALIGN=LEFT>

                                      Figure 10.8: Before hspace













          Source: http://www.htmlcodetutorial.com/images/_IMG_HSPACE.html
          <IMG SRC=”pumpkin.gif” ALT=”picture of a pumpkin” HEIGHT=100 WIDTH=100
          HSPACE=50  ALIGN=LEFT>

                                      Figure 10.9: After hspace













          Source: http://www.htmlcodetutorial.com/images/_IMG_HSPACE.html




                                           LOVELY PROFESSIONAL UNIVERSITY                                   221
   223   224   225   226   227   228   229   230   231   232   233