Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

- - - - -

How to add links to your site?


  • Please log in to reply
2 replies to this topic

#1 Guest_c0de_*

Guest_c0de_*
  • Guest

Posted 13 September 2007 - 12:17 PM

In this tutorail we have to explane the links for your web site!

The links are very usefull for todays web pages!

To go from a page to another page we use links!

Links are quick to enter from a page to another page!

At todays web sites they have a great body, to do a great site we must have many pages!

The code for to add links is:



<a herf="URL">The text</a>


At the "URL" we add the pages directory or a link. :)

A link from internet can be like: CodeCall Programming - Home or from the desktop we have a folder named test and there are two .html or .php or .asp pages and for to enter to another one we merge fast enter to another named LINK!

Wen we use:


<a herf="www.codecall.net">Code Call Home Page</a>




And when we click on the blue text we will enter to the Code Call Home Page in same window but if we want to open at another window we use target="_blank" code!

An example:


<a herf="www.codecall.net" target="_blank">Code Call Home Page</a>


Then the Code Call Home Page will open at a new blank window!



This tutorail is mine!

- Regards, c0de!
  • 0

#2 KevinADC

KevinADC

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 125 posts

Posted 15 September 2007 - 06:56 PM

Anyone that reads your tutorial is not going to be a happy camper. You didn't even get the simple anchor tag code corrrect. You should proof read your material before posting it.
  • 0

#3 KevinADC

KevinADC

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 125 posts

Posted 16 September 2007 - 10:42 AM

For the benefit of any readers, the correct way to code a hyper link into an html document is:

<a href="http://www.codecall.com" title="Link to CodeCall Forums">CodeCall</a>


The original author used "herf" instead of "href" (the "e" and "r" are transposed) and if you do not include the protocol, which in my example is "http", the web browser is free to interpret the protocol and may try and open a local file on your PC instead of a page on the internet. Using the correct protocol is very important. The common ones are:

http
https
ftp

the reader is free to investigate what they mean.
  • 0




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download