There is a browser quickstart of Google API.
https://developers.google.com/drive/api/v3/quickstart/js
The following tag is written in the sample code: