Replying with a html page in HTTP Web Server using esp01 and ArduinoIDE
Small update, I used the same code for ESP8266 NodeMCU.

Sorry If I am posting this with wrong device number. But I tried that same code and uploaded it to ESP8266, it worked, and I am getting the AP webpage, that I am storing and sending the file. I will post it as an answer as I need to post an image.

The is the page that I get when using the HTML that I wrote:


  


So, this happened. I am confused as to why it didn't work with ESP01, plus I have to load the code every time I plug in the ESP01.