Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Could you not achieve the same with a <div hidden>?


<template> tags don't do anything to their contents. You can for instance have an <img> tag in there without the image getting loaded, or a <script> tag which doesn't get executed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: