AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL
HTML Tutorial

HTML link tag with example.

A link or hyperlink is a connection between two or more web pages, or from one web page resource to another web page.

Example HTML link tag

In most browsers, HTML links will appear in the following form as default:

However you can overwrite the links using CSS style. Learn more about CSS style at CSS tutorial styling links.
HTML Link Syntax are specified in HTML using the <a> tag as <a href="url">Text link</a>
HTML link tag href attribute in source anchor specifies the address of the destination anchor.

Example 1:
<!DOCTYPE html>
<html>
<head>
<title>Title of button action</title>
</head>
<body>

<a href="http://www.agernic.com">Tutorial html</a>
<a href="facebook.jpg"><img src="facebook.jpg" alt="facebook"></a>
<a href="https://www.google.com/">Google Search</a>

</body>
</html>

The html cod above will display this HTML result:

Tutorial html
facebook
Google Search
Note: A link does not have to be only text. It can be an image link, button link or any other HTML element.


HTML link tag, link HTML tag
HTML link tag with example - html tutorial

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


HTML Img Background
HTML Image Link
HTML Image Size
HTML Text Style
HTML Text Align
HTML Text Size
HTML Text Color Style
HTML Text Color
HTML Table Color
HTML Table Row Colspan
HTML Table Width
HTML Table Style
HTML Table Border
HTML Table
HTML Font Face
HTML Font Size
HTML Font Color
HTML Headings
HTML div border color
HTML div class
HTML class container
HTML form action
HTML comment
HTML link new tab
HTML link underline
HTML link tag
HTML button action
HTML button onclick
HTML button link
HTML table style
HTML image
HTML colors
HTML div style
Text, paragraf in HTML
HTML Tags Attributes
HTML - Elements
HTML Introduction
Home HTML Tutorial
Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.