Learn HTML | How to Create Links in HTML

Hello Welcome back to My Blog, in yesterday’s post we discussed the material about Heading and Paragraph in HTML. Well in this article we will discuss, Learn HTML | How to Create Links or links in HTML.

Learn HTML | How to Create Links in HTML
Learn HTML | How to Create Links in HTML

Well we will remember briefly about Heading :
Header / Heading is an HTML tag that is used to manipulate text on a webpage. There are several uses of the Tag Header, from H1 to H6. In addition to this Tag Header, we can also use bold, italic, underline tags.

Hyperlink

Hyperlink is connecting one document to another document in HTML. The purpose of this hyperlink is to create a text or image which when clicked will be redirected to a specific page that has been assigned to the hyperlinks.

Links are also known as anchor tags, because they are created with the tag <a>.

The link is divided into two:

Internal Link : is a link that leads to a domain or web page itself

Internal links are usually used to link pages to one another on a website.

External Link : is a link to another domain, or a different page

External Link is usually used to open another domain, which is different from the html / website page itself.

Internal Link

<a href="#links">My Tutorial Website - Learn to Make Websites</a> 

the results of the html code above are like this:

My Tutorial Website – Learn to Make Websites

Eksternal Link

<a href="belajarwebsite.tech">How to Make Websites</a> 

the results of the html code above are like this:

How to Make Websites

The following is another example of using hyperlinks

Hyperlink

This Post Has One Comment

Leave a Reply