Ejemplo n.º 1
0
 public static string CreateURL(string url, string title, string text)
 {
     ElementBuilder URL = new ElementBuilder("a");
     URL.AddAttribute(url,title);
     URL.AddContent(text);
     return URL.ToString();
 }
Ejemplo n.º 2
0
        public static string CreateURL(string url, string title, string text)
        {
            ElementBuilder URL = new ElementBuilder("a");

            URL.AddAttribute(url, title);
            URL.AddContent(text);
            return(URL.ToString());
        }
Ejemplo n.º 3
0
 public static string CreateInput(string type, string name, string value)
 {
     ElementBuilder input = new ElementBuilder("input");
     input.AddAttribute("type",type);
     input.AddAttribute("name",name);
     input.AddAttribute("value", value);
     input.Close = null;
     return input.ToString();
 }
Ejemplo n.º 4
0
 public static string CreateImage(string source, string alt, string title)
 {
    
     ElementBuilder img = new ElementBuilder("img");
     img.AddAttribute("source",source);
     img.AddAttribute("alt",alt);
     img.AddAttribute("title",title);
     img.Close = null;
     return img.ToString();
 }
Ejemplo n.º 5
0
        public static string CreateImage(string source, string alt, string title)
        {
            ElementBuilder img = new ElementBuilder("img");

            img.AddAttribute("source", source);
            img.AddAttribute("alt", alt);
            img.AddAttribute("title", title);
            img.Close = null;
            return(img.ToString());
        }
Ejemplo n.º 6
0
        public static string CreateInput(string type, string name, string value)
        {
            ElementBuilder input = new ElementBuilder("input");

            input.AddAttribute("type", type);
            input.AddAttribute("name", name);
            input.AddAttribute("value", value);
            input.Close = null;
            return(input.ToString());
        }