Tuesday, October 6, 2020

How to Insert Hyperlink in HTML Page?

 I was trying to remember the HREF formula for inserting a hyperlink or "Link" into an HTML page so I looked it up. I stopped programming in HTML pretty much in 2007 when I got this site where I haven't had to program HTML anymore and just use an Auto-coder instead. So, 13 years away from dealing with a language (even if it is a programming language) you still have to re hone your skills whether it is a written or spoken language or a programming language.

Where is says "URL" is where you put your html URL code for the site you want to create a link for as a blogger or programmer. The "Text" is what your link is going to look like when the page actually loads worldwide whether you create it as a word link (which is what most people do or a number link or a combination of the two wherever you are on earth in your HTML page you are presently working on.

begin quote from:

https://www.tutorialspoint.com/How-to-Insert-Hyperlink-in-HTML-Page#:~:text=To%20make%20a%20hyperlink%20in,a%20href%3D%E2%80%9D%20%E2%80%9D%3E.

How to Insert Hyperlink in HTML Page?


With HTML, easily add hyperlinks to any HTML page. Link team page, about page, or even a test by creating it a hyperlink. You can also create a hyperlink for an external website. To make a hyperlink in an HTML page, use the <a> and </a> tags, which are the tags used to define the links.

The <a> tag indicates where the hyperlink starts and the </a> tag indicates where it ends. Whatever text gets added inside these tags, will work as a hyperlink. 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

You can try to run the following code to insert a hyperlink in an HTML page

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Hyperlinks</title>
   </head>

   <body>
      <h1>Company</h1>
      <p>
         We’re a <a href="/about/about_team.htm">team</a> of professionals working
         hard to provide free learning content.
      </p>
   </body>
</html>
raja

No comments: