Browse Source

Some example HTML file.

Marcos Kirsch 9 years ago
parent
commit
a8d408f375
3 changed files with 28 additions and 0 deletions
  1. 1 0
      http/404.html
  2. 17 0
      http/index.html
  3. 10 0
      http/remote.html

+ 1 - 0
http/404.html

@@ -0,0 +1 @@
+<html><head><title>404 - Not Found</title></head><body><h1>404 - Not Found</h1></body></html>

+ 17 - 0
http/index.html

@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+   <meta charset="utf-8">
+   <title>Served by an ESP8266</title>
+</head>
+<body>
+   <h1>Hello World!</h1>
+   <div>
+   <section>
+   <h3>nodemcu-httpserver</h3>
+   <p>This page is served by nodemcu-httpserver running on an ESP8266. One of the smallest web servers ...ever!</p>
+
+   <h3>Where's the source code?</h3>
+   <p><a href="https://github.com/marcoskirsch/nodemcu-httpserver">Right here</a></p>
+</body>
+</html>

+ 10 - 0
http/remote.html

@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html><head><meta charset="UTF-8"><title>Garage</title></head>
+<body bgcolor="#999999">
+<h1>Garage</h1>
+<form action="" method="POST">
+<input style="width:40%" name="door" type="submit" value="0">
+<input style="width:40%;line-height:80%" name="door" type="submit" value="1">
+</form>
+</body>
+</html>