Go Down

Topic: Ethernet programming (Read 517 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy