The following example shows how to use the (print:) macro to dynamically generated a HTML element (in this case an <img>) from a String value.
(set: $imgPath to "http://abc.com/")
(set: $imgFile to "filename.png")
(print: '<img src="' + $imgPath + $imgFile + '">')
You will notice I used single quotes to delimit the two String literals, so I could use double quotes as the delimiters of the src attribute’s String value.