Streaming live at 10am (PST)

Using <template>


#1

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 ?


#2

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. ?


#3

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


#4

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.