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

HTML link tag with example


<< Previous Page
HTML Button Style
Next Page >>
HTML Button Action

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.

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 tag href attribute in source anchor specifies the address of the destination anchor.

Syntax:

HTML button
<a href="url">Text link</a>

 

Browser Support HTML link tag

Element chrome browser
 Chrome
ie browser
 IE
firefox browser
 Firefox
opera browser
 Opera
safari browser
 Safari
HTML link tag Yes Yes Yes Yes Yes

 

How to Insert Hyperlink in HTML Page

Add the URL for the link in the <a href=” ”>. Just keep in mind that you should use the <a>…</a> tags inside <body>…</body> tags.

Example
<!DOCTYPE html>
<html>
<head>
<title>How to Insert Hyperlink in HTML Page </title>

</head>

<body>
<h1>How to Insert Hyperlink in HTML Page</h1>
<p> How to add / create link in HTML Page </p>
<a href='https://www.agernic.com/html-tutorial/html-link-open-in-new-tab-or-window-how-to-create-link.html'>
Open Link in new tab </a>

</body>
</html>
Note: don't forget to close with the tag.

Related subjects:
CSS link color link without underline Create html link without underline Open link in new tab - Create link

 

html link js, onclick, tag, to pdf, code, open in new tab, css, color, to section of pagehtml link js, onclick, tag, to pdf, code, open in new tab, css, color, to section of page

HTML link tag, link HTML tag, create html link without underline
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.


jQuery replace...
jQuery replaceClass...
jQuery click ()...
jQuery switchClass()...
jQuery draggable()...
jQuery HTML...
jQuery scroll smooth...
jQuery scroll()...
jQuery stop()...
jQuery animate()...
jQuery SlideToggle()...
jQuery slideDown()...
jQuery slideUp()...
jQuery fadeToggle...
jQuery fadeOut()...
jQuery fadeIn()...
jQuery Effects - hide () and show ()...
jQuery Events...
jQuery Attributes...
jQuery Selectors...