Ethernet Webserver How to use separate HTML file instead of inline

Storing it on the SD card? There are numerous examples on the Net for that.

As you failed to tell us what exact hardware you're using we cannot go into more detail.

Another way would be to develop the HTML file externally and convert it by a script into properly formatted source code.