HTML links

How to write HTML link code.

HTML text link

<a href="/en/web-design/html/html-link/html-text-link">Text Link</a>

The code will create this link:

Text Link

HTML link to same page

Anchor link code:

<a href="#generator">Link code generator</a>

The code will create this link:

Link code generator

When pressing the link the browser will jump to the heading below, with this code:

<h2><a id="generator">Link code generator</a></h2>

HTML image link

<a href="/en/web-design/html/html-link/link-image"><img src="/public/frontend/images/flower.jpg" width="82" height="86" alt="Flower"></a>

The code will create this link:


HTML e-mail link

<a href="">Send Mail</a>

The code will create this link:

Send Mail

See: HTML mailto link.

HTML link to file download

<a href="/public/frontend/file/">Download File</a>

The code will create this link:

Download File

See: HTML download link

HTML link open in new window

This link will open in new window or tab:

<a href="/en/web-design/html/html-link/html-text-link" target="_blank">Open page in new window</a>

The code will create this link:

Open page in new window

HTML button link

Without javascript:

<form action="/en/web-design/html/html-link/html-button-link">
    <input type="submit" value="A button link">

With javascript:

<input type="button" value="A button link" onclick="window.location.href='/en/web-design/html/html-link/html-button-link'">

Link color

Changing link color is done with css styling:

<a href="/en/web-design/html/html-link/html-link-color" style="color:red">Link color page</a>

The code will generate this link:

Link color page

Changing link background color is done with css styling:

<a href="/en/web-design/html/html-link/html-link-color.htm" style="background-color:#ffffa0">Link color page</a>

The code will generate this link:

Link color page

Relative vs. absolute path links

This is a link with relative path URL:

<a href="/en/web-design/html/html-link/html-text-link">Text Link</a>

The code will generate this link:

Text Link

This is a link with absolute path URL:

<a href="">Text Link</a>

The code will generate this link:

Text Link

HTML link code generator

Set CSS link style:

Normal link:
Hovered link:

Currently, we have around 5612 calculators, conversion tables and usefull online tools and software features for students, teaching and teachers, designers and simply for everyone.

You can find at this page financial calculators, mortgage calculators, calculators for loans, calculators for auto loan and lease calculators, interest calculators, payment calculators, retirement calculators, amortization calculators, investment calculators, inflation calculators, finance calculators, income tax calculators, compound interest calculators, salary calculator, interest rate calculator, sales tax calculator, fitness & health calculators, bmi calculator, calorie calculators, body fat calculator, bmr calculator, ideal weight calculator, pace calculator, pregnancy calculator, pregnancy conception calculator, due date calculator, math calculators, scientific calculator, fraction calculator, percentage calculators, random number generator, triangle calculator, standard deviation calculator, other calculators, age calculator, date calculator, time calculator, hours calculator, gpa calculator, grade calculator, concrete calculator, subnet calculator, password generator conversion calculator and many other tools and for text editing and formating, downloading videos from Facebok (we built one of the most famous Facebook video downloader online tools). We also provide you online downloanders for YouTube, Linkedin, Instagram, Twitter, Snapchat, TikTok and other social media sites (please note we does not host any videos on its servers. All videos that you download are downloaded from Facebook's, YouTube's, Linkedin's, Instagram's, Twitter's, Snapchat's, TikTok's CDNs. We also specialise on keyboard shortcuts, ALT codes for Mac, Windows and Linux and other usefull hints and tools (how to write emoji online etc.)

There are many very usefull online free tools and we would be happy if you share our page to others or send us any suggestions for other tools which will come on your mind. Also in case you find any of our tools that it does not work properly or need a better translation - please let us know. Our tools will make your life easier or simply help you to do your work or duties faster and in more effective way.

These below are the most commonly used by many users all over the world.

And we are still developing more. Our goal is to become the one-stop, go-to site for people who need to make quick calculations or who need to find quick answer for basic conversions.

Additionally, we believe the internet should be a source of free information. Therefore, all of our tools and services are completely free, with no registration required. We coded and developed each calculator individually and put each one through strict, comprehensive testing. However, please inform us if you notice even the slightest error – your input is extremely valuable to us. While most calculators on are designed to be universally applicable for worldwide usage, some are for specific countries only.

Page Id: 1491

This website uses cookies to improve your experience, analyze traffic and display ads. Learn more