Go Down

Topic: Ethernet programming (Read 455 times) previous topic - next topic

Vincent19

http://pastebin.com/CZ6J62qJ

Referring to this projects,

Quote

          client.println("HTTP/1.1 200 OK"); //send new page
          client.println("Content-Type: text/html");
          client.println();
 
          client.println("<HTML>");
          client.println("<HEAD>");
          client.println("<meta name='apple-mobile-web-app-capable' content='yes' />");
          client.println("<meta name='apple-mobile-web-app-status-bar-style' content='black-translucent' />");
          client.println("<link rel='stylesheet' type='text/css' href='http://homeautocss.net84.net/a.css' />");
          client.println("<TITLE>Home Automation</TITLE>");
          client.println("</HEAD>");
          client.println("<BODY>");
          client.println("<H1>Home Automation</H1>");
          client.println("<hr />");
          client.println("<br />");
         
          client.println("<a href=\"/?lighton\"\">Turn On Light</a>");
          client.println("<a href=\"/?lightoff\"\">Turn Off Light</a><br />");       
 
          client.println("</BODY>");
          client.println("</HTML>");
          client.println("<br />");
           client.println("<hr />");
           
          client.println("<br />");
          client.println("HELLO WORD");
 



I am curious, where can I learn that programming to create a GUI online ? For example :
client.println("<br />");
client.println("<hr />");

Thanks

Quick5pnt0

Are you referring to the <br> <hr>? If so you need to search google for html tutorials.

Vincent19

Oh, its html.

Okay thanks !

Go Up