TUTORIALS » HTML / JavaScript » HTML essentials (guided tutorials)Links in HTMLPage 1 of 4
HTML was invented in the 80's by the scientist Tim Barnes-Lee in order to help him and his colleagues share their information and discoveries. The main feature of this new language was its ability to include hyperlinks.
Hyperlinks—or more simply: links—are specially highlighted words inside a text that, when clicked, take you to another section on the page you are watching, to another page inside the site, or even to a completely different site. The <a> tagTo create a hyperlink, you need to place your desired text or word within the<a>tag, using the href attribute to specify the file or site you are pointing to.
Now let's try something slightly different
You can also create links inside the same site.
You now know how to create links to other sites and files but, what if the file you are linking to is inside the same site as the source file, but in a different folder? Find out how to specify paths in the next page.
|
|