Using <template>

I’d like to use a but I have built out my structure in Webflow. I assume there is no way to change a div tag to a ?

1 Like

Not sure if i understand it correctly, but if i assume what u meant, then you could simply create new Link / Link Block and give the same class as your div. ?

This article here explains what I am trying to do: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template

Hi there! Thanks for the great question! Currently there is no way to convert a div to a template. The recommendation I would offer is to use a div tag, give it an id for use in your custom code and display none it.