Thursday, 28 February 2008

Creating Link in HTML

a link is a selectable connection from one word, picture, or information object to another. In a multimedia environment such as the World Wide Web, such objects can include sound and motion video sequences. The most common form of link is the highlighted word or picture that can be selected by the user (with a mouse or in some other fashion), resulting in the immediate delivery and view of another file. The highlighted object is referred to as an anchor. The anchor reference and the object referred to constitute a hypertext link.

Links are the HTML tags that make the world-wide-web a web. Without links to different sites, people wouldn't be able to navigate around the Internet and find whatever it is they need.

example, you want to link to google. Google could be the destination. That link would look like:
Google

That link was created using the following HTML code :

<a href="http://www.google.com/">Google</a>

Remarks:
  • a stands for anchor It begins the link to another page.

  • href stands for hypertext reference, where the link is going to go.

  • http://www.google.com/ is the full address of the link, that address has an equal sign in front of it and is enclosed in quotes.

  • Google is the text, you want appear in the page for viewer to click.

  • /a ends the entire link command.

No comments: