Q:

how to display a link in html

<a href="link.html"> text link </a> <!-- link to html -->
<a href="google.com" URL> Google </a> <!-- link to site -->
<a href="link.html"><button> Link </button></a> <!-- Button link -->
7
<a href="https://www.google.com/"> google </a>
1
This is a simple way to insert hyperlinks in html.

To insert hyperlinks, you can use the <a> tag.
in the <a> tag, you should use the href attribute to insert the website you want
to create a hyperlink for. remember to use https:// or http:// depending on the 
address of the linked website.
  Then, in between the <a> and </a> tags, type the text you want to click to go
to the linked website.
  
  Here is an example:
  
<html>

<head>
  <title>
    Hyperlinks in html
  <title>
<head>
	<a href="https://google.co.in/">
      Click here to open google!
    <a>
<body>

<html>
  
If you run this code,using any web browser, you will see the text 'Click here 
to open google, and if you click on that, google will open'
1
<a href="link">Text</a>
0

New to Communities?

Join the community