Page 114 - TP_Plus_v2.2_Class_8
P. 114

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.

                                                              Tech Fact

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





                         LINKING WEB PAGES


                  A website is a collection of web pages which are interlinked with each other and contains related
                  information. These web pages are linked with the help of a feature of HTML called a hyperlink. A
                  hyperlink is generally an underlined text which takes you to another web page when clicked. Generally,

                  hyperlinks are seen in blue colour. Images can also be used as hyperlink. When mouse is hovered over
                  it, the mouse pointer changes to hand shape. When a hyperlink is clicked, its colour changes to purple.
                  HTML5 allows us to create two types of linking, which are:
                     Internal linking: These links connect one page of a website to another page on the same site. For
                    example, if you’re reading a blog post about healthy recipes and there's a link to another post on

                    the same website about meal planning, that’s an internal link.
                      External linking: These links connect a page on one website to a page on a different website. For
                    example, if the same blog post about healthy recipes includes a link to a well-known nutrition site
                    for more information on dietary guidelines, that’s an external link.

                       Anchor Tag

                  Anchor tag is used for creating hyperlinks in HTML web pages. It is a container tag and used as <A>
                  Hyperlink Text </A>. Where, Hyperlink Text is a text or an image.

                  112   Plus (Ver. 2.2)-VIII
   109   110   111   112   113   114   115   116   117   118   119