Program ESP8226 WIFI module using Ardunio Environment

It looks like you have to add this to setup() :

server.on("/", handleRoot);
server.on("/form", handleForm);
server.on("/page1", handlePage1);   //new

And create this function similar to handleRoot()

void handlePage1() {
   // new function
   String s = page1 ;

   server.send(200, "text/html", s);
}

And in your HTML, call it by something like

. . .
<a href="/page1">page1</a>
. . .