For a question in forum this is a working example, there will be the example that is not working
Fork of eth_v13 by
Diff: html.h
- Revision:
- 2:8f5bacfef390
- Child:
- 3:79dc3337d9da
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/html.h Tue Mar 18 22:51:18 2014 +0000 @@ -0,0 +1,11 @@ +#ifndef HTML_H_ +#define HTML_H_ + +const char html_head[] = "HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nPragma: no-cache\r\n\r\n" \ + "<html>\r\n<body>\r\n" \ + "<title>Karl's W5100 web server (ATmega644p)</title>\r\n" \ + "<h2>Karl's ATmega644p web server using Wiznet W5100 chip</h2>\r\n"; + +const char html_foot[] ="<br /><hr>\r\n"; + +#endif \ No newline at end of file