HTML Links
Links are the most fundamental part
of the world wide web.
It is the links that tie it all together.
There are three different kinds of links you can have on your website:
There are three different kinds of links you can have on your website:
- Links to anchors on the current page (Internal).
- Links to other pages within the current site (Local)
- Links to pages outside the current site (Global).
- It is possible to make texts and images work as links.
- This page contains various HTML link codes - HTML codes for creating links to another web page.
- An HTML link is one of the easiest things to do in HTML - you can link to another website within minutes, using one line of code.
- Having said that, there are lots of other things you can do with HTML links. For example, you can link images, change the color of your HTML links, open a link in a new window, and much more.
Description
- The World Wide Web got its spidery name from the plentiful connections (links) that link websites together with the click of a button.
- What most people don't know is that HTML links are actually HTML anchors constructed using anchor tags (<a>).
- A Hypertext Reference (href) is an HTML attribute of an anchor (link) tag that requires a valid URL in order to properly direct a user to a different location.
- In other words, this Hypertext Reference is where users will navigate to if they do click on this link.
- Links are a big part of the user experience for any website. Always try to keep that in mind when working on a site's navigation.
- A web page that opens a new web browser window each time a user clicks a link is not the greatest way to entice users to stick around.
- The tags used to produce links are the <a> and </a>.
- The <a> tells where the link should start and the </a> indicates where the link ends.
Example
<!DOCTYPE
html>
<html>
<body>
<p>
<a
href="default.asp">HTML Tutorial</a> This is a link to a
page on this website.
</p>
</body>
</html>
Display
HTML Tutorial
This is a link to a page on this website



0 comments:
Post a Comment