News for hackers. Stuff that matters.
Re:Templating in HTML by TedDoesntTalk on Tuesday October 04, 2022 @05:49PM (#33087512)
Been doing today for years with a custom tags. name it anything you want. <foo/> works
Re:Templating in HTML by synn on Wednesday October 05, 2022 @02:08AM (#33091885)
And if you want it to be a valid HTML custom-element, just throw a dash in the name (like <v-foo>). https://html.spec.whatwg.org/#valid-custom-element-name