HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
PHP Tutorial

PHP forms
HTML Tutorial

CSS 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:

  • An unvisited link is underlined and blue color.
  • A visited link is underlined and purple color.
  • An active link is underlined and red color.

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

3058. HTML Image Maps
Learn about HTML image maps with this HTML tutorial.
https://www.quackit.com/html/tutorial/html_image_maps.cfm

2690. Text : Text Links - HTML Tutorial
HTML basics - HTML tutorial
http://www.echoecho.com/htmltext03.htm

2628. Forms : Hidden Field - HTML Tutorial
HTML forms - HTML tutorial
http://www.echoecho.com/htmlforms07.htm

3195. How to add text, paragraf in HTML, html tutorial
How to add text, paragraf in HTML html tutorial
https://www.agernic.com/html-tutorial/how-to-add-text-in-html.html

2184. HTML Tutorial - Checkbox Tag verwenden
HTML Checkbox-Tag-Nutzung. Einfache und praktische Beispiele.
https://tutorialehtml.com/de/html-checkbox/

2147. HTML Tutorial - Submit Buttons
Submit buttons.
https://tutorialehtml.com/en/html-tutorial-submit-buttons/

Your add here
PHP htmlspecialchars_decode() function

PHP explode() function

PHP strcmp() function

PHP implode() function

PHP strrchr() Function

PHP define() function

PHP print() function

PHP html_entity_decode() function

PHP ucfirst() function

PHP str_split() function

PHP ltrim() function

PHP rtrim() function

PHP strtoupper() function

PHP str_repeat() function

PHP wordwrap() function

PHP trim() function

HTML Colors
HTML div class tag attribute
The simplest PHP script
HTML colors, background, text and border color
SQL - Syntax
HTML Text Style