Create an image tag

html:img(STRING $src, STRING $width="100%", STRING $height="", STRING $alt="", ARRAY $attributes=[ ])

html:img('/test.png', attributes: ['style'=> 'good'])
#=> "<img src=\"/test.png\" style=\"good\" width=\"100%\" />"

Copyright ©2013-2022 SunSed®. All rights reserved.