about summary refs log tree commit diff stats
path: root/html/attributes.go
diff options
context:
space:
mode:
Diffstat (limited to 'html/attributes.go')
-rw-r--r--html/attributes.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/html/attributes.go b/html/attributes.go
index edaf85e..ccd1cb4 100644
--- a/html/attributes.go
+++ b/html/attributes.go
@@ -101,6 +101,10 @@ func Charset(v string) g.Node {
 	return g.Attr("charset", v)
 }
 
+func CiteAttr(v string) g.Node {
+	return g.Attr("cite", v)
+}
+
 func Class(v string) g.Node {
 	return g.Attr("class", v)
 }