aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/xhtml37
1 files changed, 25 insertions, 12 deletions
diff --git a/web/xhtml b/web/xhtml
index 708655c..d683469 100644
--- a/web/xhtml
+++ b/web/xhtml
@@ -278,6 +278,10 @@ namespace web
s.start_element (xmlns, "meta");
s.attribute ("charset", "UTF-8");
s.end_element ();
+ s.start_element (xmlns, "meta");
+ s.attribute ("name", "viewport");
+ s.attribute ("content", "device-width, initial-scale=1");
+ s.end_element ();
}
};
static const head_element HEAD;
@@ -297,24 +301,33 @@ namespace web
static const element BODY ("body");
static const element DIV ("div");
+ static const element H1 ("h1");
+ static const element H2 ("h2");
+ static const element H3 ("h3");
+ static const element H4 ("h4");
+ static const element H5 ("h5");
+ static const element H6 ("h6");
+ static const element META ("meta");
static const element P ("p");
static const element TITLE ("title");
- static const inline_element A ("a");
- static const inline_element B ("b");
- static const inline_element I ("i");
- static const inline_element U ("u");
-
- static const inline_element EM ("em");
- static const inline_element BR ("br");
+ static const inline_element A ("a");
+ static const inline_element B ("b");
+ static const inline_element BR ("br");
+ static const inline_element EM ("em");
+ static const inline_element I ("i");
+ static const inline_element SPAN ("span");
+ static const inline_element U ("u");
// Attributes.
//
- static const attribute CLASS ("class");
- static const attribute HREF ("href");
- static const attribute ID ("id");
- static const attribute STYLE ("style");
- static const attribute TYPE ("type");
+ static const attribute CLASS ("class");
+ static const attribute CONTENT ("content");
+ static const attribute HREF ("href");
+ static const attribute ID ("id");
+ static const attribute NAME ("name");
+ static const attribute STYLE ("style");
+ static const attribute TYPE ("type");
}
}