Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails image tag data attribute

<%= image_tag 'filename', title: "title", class: "class", data: { description: '..', title: '..' }  %>
 
PREVIOUS NEXT
Tagged: #rails #image #tag #data #attribute
ADD COMMENT
Topic
Name
5+3 =