Andrew Boyson / web

Dependents:   oldheating gps motorhome heating

Revision:
12:237a0f75b4d0
Parent:
11:84121d7b47e9
diff -r 84121d7b47e9 -r 237a0f75b4d0 page.c
--- a/page.c	Sat Nov 17 17:46:30 2018 +0000
+++ b/page.c	Mon Nov 26 12:45:17 2018 +0000
@@ -40,6 +40,25 @@
                      "<body>\r\n");
 
 }
+void PageAddH1(const char* site, const char* pageName)
+{
+    HttpAddText("<h1>");
+    HttpAddText(site);
+    HttpAddText(" - ");
+    HttpAddText(pageName);
+    HttpAddText("</h1>\r\n");
+}
+void PageAddH2(const char* text)
+{
+    HttpAddText("<h2>");
+    HttpAddText(text);
+    HttpAddText("</h2>\r\n");
+}
+void PageAddEnd()
+{
+    HttpAddText("</body>\r\n"
+                "</html>\r\n");
+}
 
 void PageAddNavItem(int highlight, char* href, char* title)
 {