The original answer pointed to silabsoft.org and its client section for a guide. That is a reasonable starting point for a specific kind of webclient — the Java-based client used to run RuneScape private servers in a browser.
The term covers two different things, which is where confusion starts. In the private-server world it means a Java applet served from a web page that connects to a game server. In general web development it means any browser application that talks to a backend API.
You need a server to connect to, a client build, and a web host that serves the applet with the correct MIME types and a matching codebase path. Most guides for this are tied to specific server projects, so following one written for your server version matters more than a generic tutorial.
Start with a framework — React, Vue or Svelte for the front end — and a REST or WebSocket API behind it. The pattern is the same regardless of scale.