ESP8266 Web server can’t send http requests to serial

Hello there I’m somewhat new to arduino but I have some experience with micro controllers. I have set up my ESP8266 controller to my WiFi and am broadcasting a webpage.

All I need to do now is interact with buttons on the page and write serial outputs to prove that the buttons are being pressed.

I have seen other posts about this but they all pertain to Ethernet connections, also they reference the Use of Cstrings and counting up indexes to target elements on the page. I’m not totally sure how this works.

Could someone please give me a general explaination ?

How do you broadcast a web page?
A web page has to be requested, surely?

My apologies I mean to say that my ESP8266 is acting as a web server hosting a page.

I’m trying to manage when my client (phone) wants to make http requests

I can’t get the server to process them

Are you saying you want someone to write a tutorial on how controls on a web page are handled?

Does your educational institution have a physical library?

Yes, I was hoping someone could write an example of how I should format my html while coding my esp8266 so that I can have it respond to Onclicks from a client and trigger a serial response from the board acting as a server