Categories
HTML

How to open Google map with specific address in a browser with HTML?

Spread the love

Sometimes, we want to open Google map with specific address in a browser with HTML.

In this article, we’ll look at how to open Google map with specific address in a browser with HTML.

How to open Google map with specific address in a browser with HTML?

To open Google map with specific address in a browser with HTML, we use the Google map URL.

For instance, we write

<a
  href="http://maps.google.com/?q=50 Hagiwara Tea Garden Dr, San Francisco, CA 94118, United States"
>
  ...
</a>

to add the Google map URL with the q query parameter set to the address to show on the map.

Conclusion

To open Google map with specific address in a browser with HTML, we use the Google map URL.

Leave a Reply

Your email address will not be published.

If you like the content of this blog, subscribe to my email list to get exclusive articles not available to anyone else.