Page 224 - DCAP109_GRAPHIC_TOOLS
P. 224

Unit 10: Working of Web Designing




          10.1.2 Explicitly Anchored Hyperlink                                                  Notes

          It is the link that opens up portion or section of the same web page when clicked. This type of
          hyperlinks is particularly useful when a web page is too lengthy or has various sections. In these
          links we use the ‘name’ attribute instead of the href attribute. The value of the name attribute
          becomes a label that identifies a location to which a hyperlink can point.


                 Example:
          <a href=”#C4">See also Chapter 4.</a>

          The above link when clicked opens up Chapter 4 available on the same document which is
          shown below:
          <h2><a id=”C4">Chapter 4</a></h2>
          <p>This chapter explains ba blab la</p>

          10.1.3 Why Links Fail?

          You might have seen an error message like the one shown in the figure 10.3 when you click on
          a hyperlink.

                                         Figure 10.3: Error


































          Source: http://www.404errorpages.com/
          This error message could be of one of the following two types:
          z    The first type of error message tells you that the file could not be found. This means that
               the URL doesn’t points to the file you wanted. This can occur when the URL mentioned
               was incorrect, the owner of the file targeted by the URL has moved the file to a different
               location or the file does not exist any longer.




                                           LOVELY PROFESSIONAL UNIVERSITY                                   217
   219   220   221   222   223   224   225   226   227   228   229