Links in HTML

Learn how to create Links in HTML.

Example:

Here is a link to Easy Web Tutorials

This is what it looks like in your browser:

Here is a link to Easy Web Tutorials

The element “a” stands for “anchor”. The attribute href is short for “hypertext reference”, which specifies where the link leads to – typically an address on the internet or a file name.

In the example above, the attribute href has the value “http://easywebtutorials.net/”, which is the full address of Easy Web Tutorials and is called a URL (Uniform Resource Locator). Note that “http://” must always be included in URLs. The sentence “Here is a link to Easy Web Tutorials” is the text that is shown in the browser as the link. Remember to close the element with an .

Try to practice creating links to another website.

Image Source:bytescout.com

Comments are closed.