Horje

Full Example of HTML Links

The most important attribute of the <a> element is the href attribute, which indicates the link's destination. The link text is the part that will be visible to the reader. Clicking on the link text, will send the reader to the specified URL address. This example shows how to create a link to Itupto.com:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>HTML Links</h1>

<p><a href="https://www.w3schools.com/">Visit W3Schools.com!</a></p>

</body>
</html>

Output should be:

Full Example of HTML Links



Single Articles
Example of HTML LinksHTML Links
Full Example of HTML LinksHTML Links


Related Articles
What is HTML Links HTML Links
How to create HTML Links - Syntax HTML Links
How to create HTML Links The target Attribute HTML Links
What is Absolute URLs vs. Relative URLs HTML Links
How to use an Image as a Link HTML Links
How to use Link to an Email Address HTML Links
How to create Button as a Link HTML Links
How to use a title in Link HTML Links

Type:
Html
Category:
Web Tutorial
Sub Category:
HTML Links
Uploaded by:
Admin