HTML hyperlinks are used to create
clickable links that allow users to navigate between different pages on the
web. To use HTML hyperlinks, you can follow these steps :-
1. First, open
a text editor such as Notepad or Sublime Text and create a new HTML file with
the extension ".html".
2. Inside the
HTML file, create an anchor tag by typing <a> followed by the text that
you want to display as the hyperlink. For example, <a>Click here to go to
Google</a>.
3. Next, you
need to specify the URL that the hyperlink should link to. To do this, add the
href attribute to the anchor tag and set it equal to the URL. For example,
<a href="https://www.google.com">Click here to go to
Google</a>.
4. Save the
HTML file and open it in a web browser. You should now be able to click on the
hyperlink and be taken to the specified URL.
Here's an example of an HTML
hyperlink that links to Google's homepage :-
<!DOCTYPE
html>
<html>
<head>
<title>HTML Hyperlink
Example</title>
</head>
<body>
<a
href="https://www.google.com">Click here to go to Google</a>
</body>
</html>
When the hyperlink is clicked, the
user will be taken to Google's homepage.