static ElementBuilder CreateImage(string src, string title) { ElementBuilder e = new ElementBuilder(ElementBuilder.HTMLTag.img); e.AddAttribute("src", src); e.AddAttribute("title", title); return e; }
static ElementBuilder CreateImage(string src, string title) { ElementBuilder e = new ElementBuilder(ElementBuilder.HTMLTag.img); e.AddAttribute("src", src); e.AddAttribute("title", title); return(e); }
static ElementBuilder CreateInput(string type, string name, string value) { ElementBuilder e = new ElementBuilder(ElementBuilder.HTMLTag.a); e.AddAttribute("type", type); e.AddAttribute("name", name); e.AddContent(value); return(e); }
static ElementBuilder CreateURL(string url, string title, string text) { ElementBuilder e = new ElementBuilder(ElementBuilder.HTMLTag.a); e.AddAttribute("href", url); e.AddAttribute("title", title); e.AddContent(text); return(e); }
static ElementBuilder CreateURL(string url, string title, string text) { ElementBuilder e = new ElementBuilder(ElementBuilder.HTMLTag.a); e.AddAttribute("href", url); e.AddAttribute("title", title); e.AddContent(text); return e; }
static ElementBuilder CreateInput(string type, string name, string value) { ElementBuilder e = new ElementBuilder(ElementBuilder.HTMLTag.a); e.AddAttribute("type", type); e.AddAttribute("name", name); e.AddContent(value); return e; }