html::img($src, $attr = array())

Generates an img tag

  • $src (string)
    The url of the image
  • $attr (array)
    Additional attributes for the image tag
  • return (string)
    the generated html

Is something missing or incorrect? Edit this page on Github…