Tuesday, October 30, 2012

Lesson 10: HTML Hyper Links

The HTML <a> tag defines a hyperlink.

A hyperlink (or link) is a word, group of words, or image that you can click on to jump to another document. When you move the cursor over a link in a Web page, the arrow will turn into a little hand. The most important attribute of the <a> element is the href attribute, which indicates the link’s destination.

By default, links will appear as follows in all browsers:
  • An unvisited link is underlined and blue
  • A visited link is underlined and purple
  • An active link is underlined and red

    Example :-
    1. Open a text editor and type the following line in to the text editor.
    2. Save file.
    3. Open that file in a web browser.
    4. You get like this out put.
    In this example you get like this 2 links.
    If you are click in Link 1 that is opening in another page.
    If you are clicl Link 2 that is opening in same page.




    << Previous Lesson                                            HTML Tutorial                                            Next Lesson >>

      No comments:

      Post a Comment