This code adds a small field to enter an address, plus a “Get Directions” button. The results are shown as Google Maps directions.
Be sure to edit your destination address in the code.
<form action="http://maps.google.com/maps" method="get" target="_blank"> <label for="saddr">Enter your location</label> <input type="text" name="saddr" /> <input type="hidden" name="daddr" value="101 Main St, Tampa, FL 33615" /> <input type="submit" value="Get directions" /> </form>