This page describes the prerequisite steps that you must complete before building a WebGL application.
To build a WebGL application, you must first install the Unity Hub and then add the WebGL Build Support module.
Refer to install the Unity Hub and Add modules to the Unity Editor for information about how to complete these steps.