News for hackers. Stuff that matters.
Re:Templating in HTML by tomhallett on Tuesday October 04, 2022 @09:48PM (#33090019)
In addition - “template” also conveys correct semantics to the other developers working on the codebase. If I see an html at the bottom with “display: none” it’s very possible that the intended usage is to leave it there and set “display: block”, ie a modal. “display: none” doesn’t convey “clone me”, but “template” does.

There are no comments on this comment yet.