Tuesday, May 25, 2010

How to Create a Link

  Html document using the hyperlink (anchor) to connect to other documents on the web.Here we try to describe the three kinds of links to be studied.
 1.Tag Anchor.    Html tags <a> use to create a link to another document in web.Sintaks of linking in Html  tags are using <a>, the href attribute is used to define the link examples:Following anchor points to Microsoft:

<a href=http://www.microsoft.com"> This text is displayed </ a>


  
There are three types of links:* Relative Links* Absolute Links* The links in the same documentThe difference lies only in the document that becomes the link, located on the same computer or not.


2.Relative Link.
  Established when you create your pages link to another page on the same computer, if it does not need to use the complete Internet address.If two pages in the same directory that you can write the name of the file like the following:

<a href="file_2.html"> next </ a>


3.Absolut Link.

  Created when you create a link to another web differently on another website Internet.Dalam this you must write your address lengkap.Berikut example:

<a href=http://www.syeh.co.cc/> ebook Indonesia </ a>


Good luck, and hopefully useful

No comments:

Post a Comment