html - how to open an address from a link -


I wanted to create a link on my page where I just wanted to open www.google.com from my site.

I have such a tag: & lt; A goal = '_help' href = 'www.google.com' & gt; and it is opening this link http: // localhost: 78 / AFM / FM21 / www.google.com

I have read some articles, Where they use .. / In my case I had to move forward to go back to a directory .. /../../ I still have to go to www.google.com to open it, Code> Localhost: 78 / www.google.com opens

My question is how do I open www.google.com with a direct link.

You must specify the absolute path according to the protocol or higher.

  & lt; A href = "// www.google.com/">link</a> Or & lt; A href = "http://www.google.com/" & gt; Link & lt; / A & gt;    

Comments