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 3c69f94..b38dd95 100644
--- a/html/attributes.go
+++ b/html/attributes.go
@@ -16,6 +16,10 @@ func AutoPlay() g.Node {
 	return g.Attr("autoplay")
 }
 
+func Checked() g.Node {
+	return g.Attr("checked")
+}
+
 func Controls() g.Node {
 	return g.Attr("controls")
 }