28.2.2. How to create a link in HTML

We recall that a link in HTML is always composed of two parts, the clickable part (the link text) and the URL (Uniform Resource Locator, the destination site, page or resource). Here is an example:

The HTML code for this link is:

<a href="http://www.karakas-online.de/EN-Book/">PHP-Nuke HOWTO</a>

which will look like: PHP-Nuke HOWTO. As you can see, the <a> tag is closed with </a>.

Some rules for creating links:


Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO