Create an anchor and pass in the query parameters as HTML attributes.