Curriculum
Course: HTML Basic
Login

Curriculum

HTML Basic

HTML Introduction

0/1

HTML Editors

0/1

HTML Attributes

0/1

HTML Paragraphs

0/1

HTML Formatting

0/1

HTML Comments

0/1

HTML Favicon

0/1

HTML Page Title

0/1

HTML Iframes

0/1

HTML Java Script

0/1

HTML File Paths

0/1

HTML Symbols

0/1
Text lesson

Links

HTML Links – Hyperlinks

HTML links function as hyperlinks, enabling you to navigate to other documents with a click. When you hover your cursor over a link, it changes into a small hand symbol.

 

Click to Learn

Note: A link is not restricted to text. It can be an image or any other HTML element!

HTML Links – Syntax

The <a> tag in HTML is used to create a hyperlink, and it is structured as follows:

<a href=”url>link text</a>

The href attribute of the <a> element is crucial, as it specifies the destination of the link.

The visible portion to users is the link text.

By clicking on this text, users are directed to the designated URL.

Example

<a href=”https://code7school.com/”>Visit code7school.com!</a>