From ba5a989334bba5126603ea95fe6602de9a57462f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 19 Mar 2025 10:04:13 +0100 Subject: Add `Scope` attribute (#249) https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#scope--- html/attributes.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'html/attributes.go') diff --git a/html/attributes.go b/html/attributes.go index fb2748b..e9a0b6d 100644 --- a/html/attributes.go +++ b/html/attributes.go @@ -277,6 +277,10 @@ func RowSpan(v string) g.Node { return g.Attr("rowspan", v) } +func Scope(v string) g.Node { + return g.Attr("scope", v) +} + func Src(v string) g.Node { return g.Attr("src", v) } -- cgit 1.4.1