Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 96 - ClickGPT V4.0 C-5
P. 96

    LINKING WEB PAGES

                  A  website  is  a  collection of web pages  that  are  interlinked  with  each  other  and contain  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  that  takes  the  user  to  another  web  page  when  clicked.
                  Generally, hyperlinks are seen in blue colour. Images can also be used as hyperlinks. When the mouse
                  is hovered over a hyperlink, the mouse pointer changes to a hand shape. When a hyperlink is clicked,
                  its colour changes to purple.

                  HTML5 allows the creation of two types of linking, which are:

                       Intralinking: The process of linking specific sections or elements within the same web page or
                      website. It allows users to navigate to different parts of the same page quickly and easily by clicking
                      on hyperlinks that lead to other sections or elements on the page.

                       Interlinking: The process of linking one web page to another web page, either within the same
                      website or to a different website. It involves creating hyperlinks that connect different web page,
                      facilitating navigation between related content and enhancing the website's overall connectivity.
                  Anchor Tag

                  The Anchor tag is used for creating hyperlinks in HTML web pages. It is a container tag and is used as
                  <A> Hyperlink Text </A>. Hyperlink Text is a text or an image.
                  The <A> tag has the following attributes:

                      HREF: This attribute stands for Hypertext Reference. It specifies the URL of the web page which we
                      want to link when creating external linking.

                      TARGET: This attribute is used to specify, where the linked web page will open. It can take any of the
                      following four values:
                       _blank: Opens the linked web page in a new window or tab of the web browser.

                       _parent: Opens the linked web page in a parent window or tab of the web browser.
                       _self: Opens the linked web page in the current window or tab.

                       _top: Opens the linked web page in the topmost window among all windows.
                  External web pages can be linked using the HREF attribute of the anchor tag. The HREF attribute takes
                  the URL of the web page in double quotes. The syntax to create a hyperlink is:

                  <A HREF = "URL of Web Page" TARGET="_blank"> Link Text </A>
                  For example:

                  <A HREF = "About.html" target="_blank"> About Us </A>
                  The preceding code creates a link with the text "About Us".
                  When  we click on  the "About  Us" link,  the "About.html"          A link in HTML is like a bridge that
                  web page will open in a blank tab or window.                       connects the text to the destination
                                                                                       and invites users to cross over.

                            Premium Edition-V
                     94

| 91 92 93 94 95 96 97 98 99 100 101 |