Open.Core.Html.CreateImage C# (CSharp) Method

CreateImage() public static method

Creates an IMG element.
public static CreateImage ( string src, string alt ) : jQueryObject
src string The URL to the image.
alt string The alternative text for the image.
return jQueryObject
        public static jQueryObject CreateImage(string src, string alt)
        {
            return jQuery.FromHtml(string.Format("<img src='{0}' alt='{1}' />", src, alt));
        }