This is the simplest template, that will expand your Unity WebGL app to the whole browser tab window but also will change it dynamically on resize.
- Import unity package (found in Releases) or clone and place WebGLTemplates folder in your assets folder.
- Choose the template from WebGL player settings. Done!