public static string CreateInput(string inputType, string name, string value)
 {
     ElementBuilder input = new ElementBuilder("input");
     input.AddAttribute("type", inputType);
     input.AddAttribute("name", name);
     input.AddAttribute("value", value);
     return input.Result(false);
 }
 public static string CreateImage(string imageSource, string alt, string title)
 {
     ElementBuilder image = new ElementBuilder("img");
     image.AddAttribute("src", imageSource);
     image.AddAttribute("alt", alt);
     image.AddAttribute("title", title);
     return image.Result(false);
 }
 public static string CreateURL(string url, string title, string text)
 {
     ElementBuilder link = new ElementBuilder("a");
     link.AddAttribute("href", url);
     link.AddAttribute("title", title);
     link.AddContent(text);
     return link.Result(true);
 }
        public static void Main(string[] args)
        {
            ElementBuilder div = new ElementBuilder("div");

            //div.AddAttribute("id", "Page");
            //div.AddAttribute("class", "big");
            //div.AddContent("<p>Hello</p>");

            //Console.WriteLine(div * 2);

            //Console.WriteLine(HTMLDispatcher.CreateImage("hi.jpeg", "hello", "I say hello"));
            //Console.WriteLine(HTMLDispatcher.CreateURL("http://www.w3schools.com/html/", "W3C", "Visit our HTML tutorial"));
            //Console.WriteLine(HTMLDispatcher.CreateInput("submit", "fname", "Submit"));
        }