https://datatracker.ietf.org/doc/html/rfc3986#section-3.4
Html is relevant historically as that syntax comes from forms. It was historically a sort of API between the browser client and the server, so yeah.
But it's pretty well defined since 1995
https://datatracker.ietf.org/doc/html/rfc3986#section-3.4