Adding data element to img tag
-
Hello Sir,
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 ?
Thank you
- The topic ‘Adding data element to img tag’ is closed to new replies.