Adding data element to img tag
I want to add the data element
data-elem="pinchzoomer"to img tag automatically i.e.
<img src="assets/1.jpg" data-elem="pinchzoomer" >
In which line of code can I add it ?
- The topic ‘Adding data element to img tag’ is closed to new replies.