News for hackers. Stuff that matters.
Re:Templating in HTML by galaxyLogic on Wednesday October 05, 2022 @01:01AM (#33091465)
Yes but when you see "display:none;" isn't it obvious that the purpose is to make it visible sometime later?

Also if you need to use the same HTML elsewhere, just copy the innerHTML of such an element and insert anywhere you want to.

Re:Templating in HTML by xigoi on Wednesday October 05, 2022 @06:19AM (#33093489)
> Yes but when you see "display:none;" isn't it obvious that the purpose is to make it visible sometime later?

Yes, but it's not obvious that it would be made visible in a different place while keeping the original invisible.

Re:Templating in HTML by forgotusername6 on Wednesday October 05, 2022 @01:59AM (#33091824)
Hidden forms are an example of display:none that will not be displayed later