Hi I'm trying to create a HTML webpage using my Arduino Yun. I've seen some examples of people who have done this by printing the HTML code, something like this:
US.println("HTTP/1.1 200 OK"); //send new page
US.println("Content-Type: text/html");
US.println();
US.println("<HTML>");
US.println("<HEAD>");
US.println("<TITLE>Your Title Here</TITLE>");
US.println("</HEAD>");
US.print("<BODY BGCOLOR=\"FFFFFF\">");
US.println("<CENTER><IMG SRC=\"clouds.jpg\" ALIGN=\"BOTTOM\"> </CENTER>");
US.println("<HR>");
US.println("<a href=\"http://somegreatsite.com\">Link Name</a>");
US.println("<H1>This is a Header</H1>");
US.println("<H2>This is a Medium Header</H2>");
US.println("<HR>");
US.println("</BODY>");
US.println("</HTML>");
however, when I've done this I only achieve to print the HTML code in my browser, not to actually run it. Please help! What I'm I missing?