diff --git a/elements.go b/elements.go
index 96f30e9..e89465e 100644
--- a/elements.go
+++ b/elements.go
@@ -101,3 +101,16 @@ func Li(attribs ...Attrib) func(children ...Term) *ParentElement {
}
}
}
+
+// Title creates a
element.
+func Title(attribs ...Attrib) func(children ...Term) *ParentElement {
+ return func(children ...Term) *ParentElement {
+ return &ParentElement{
+ EmptyElement: EmptyElement{
+ TagName: "title",
+ Attribs: attribs,
+ },
+ Children: children,
+ }
+ }
+}
diff --git a/elements.txt b/elements.txt
index c1cb919..4ae5e2c 100644
--- a/elements.txt
+++ b/elements.txt
@@ -6,3 +6,4 @@ img empty
span parent
ul parent
li parent
+title parent