Class Html
Represents HTML that can be written to a stream
Inherited Members
Namespace: Eighty
Assembly: Eighty.dll
Syntax
public abstract class Html
Properties
| Improve this Doc View SourceCanWriteAsync
Can this Html write itself asynchronously?
Returns false if the HTML contains any calls to Builder(Func<HtmlBuilder>).
If this returns false, WriteAsync(TextWriter) will throw InvalidOperationException
Declaration
public bool CanWriteAsync { get; }
Property Value
Type | Description |
---|---|
Boolean | A Boolean indicating whether this Html can write itself asynchronously |
Methods
| Improve this Doc View Source_(Html[])
Put some siblings next to each other.
Declaration
public static Html _(params Html[] siblings)
Parameters
Type | Name | Description |
---|---|---|
Html[] | siblings |
Returns
Type | Description |
---|---|
Html |
_(IEnumerable<Html>)
Put some siblings next to each other.
Declaration
public static Html _(IEnumerable<Html> siblings)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | siblings |
Returns
Type | Description |
---|---|
Html |
_(List<Html>)
Put some siblings next to each other.
Declaration
public static Html _(List<Html> siblings)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Html> | siblings |
Returns
Type | Description |
---|---|
Html |
_(ImmutableArray<Html>)
Put some siblings next to each other.
Declaration
public static Html _(ImmutableArray<Html> siblings)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Immutable.ImmutableArray<Html> | siblings |
Returns
Type | Description |
---|---|
Html |
_(ImmutableList<Html>)
Put some siblings next to each other.
Declaration
public static Html _(ImmutableList<Html> siblings)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Immutable.ImmutableList<Html> | siblings |
Returns
Type | Description |
---|---|
Html |
a(Attr[])
Build an a element.
Declaration
public static TagBuilder a(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
a(IEnumerable<Attr>)
Build an a element.
Declaration
public static TagBuilder a(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
a(String, String, String, String, String, String, String, String, String, String, String)
Build an a element.
Declaration
public static TagBuilder a(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string href = null, string rel = null, string target = null, string type = null, string download = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | href | |
String | rel | |
String | target | |
String | type | |
String | download |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
a_(Html[])
Build an a element without any attributes.
Declaration
public static Html a_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
a_(IEnumerable<Html>)
Build an a element without any attributes.
Declaration
public static Html a_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
abbr(Attr[])
Build an abbr element.
Declaration
public static TagBuilder abbr(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
abbr(IEnumerable<Attr>)
Build an abbr element.
Declaration
public static TagBuilder abbr(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
abbr(String, String, String, String, String, String)
Build an abbr element.
Declaration
public static TagBuilder abbr(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
abbr_(Html[])
Build an abbr element without any attributes.
Declaration
public static Html abbr_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
abbr_(IEnumerable<Html>)
Build an abbr element without any attributes.
Declaration
public static Html abbr_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
address(Attr[])
Build an address element.
Declaration
public static TagBuilder address(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
address(IEnumerable<Attr>)
Build an address element.
Declaration
public static TagBuilder address(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
address(String, String, String, String, String, String)
Build an address element.
Declaration
public static TagBuilder address(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
address_(Html[])
Build an address element without any attributes.
Declaration
public static Html address_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
address_(IEnumerable<Html>)
Build an address element without any attributes.
Declaration
public static Html address_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
article(Attr[])
Build an article element.
Declaration
public static TagBuilder article(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
article(IEnumerable<Attr>)
Build an article element.
Declaration
public static TagBuilder article(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
article(String, String, String, String, String, String)
Build an article element.
Declaration
public static TagBuilder article(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
article_(Html[])
Build an article element without any attributes.
Declaration
public static Html article_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
article_(IEnumerable<Html>)
Build an article element without any attributes.
Declaration
public static Html article_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
aside(Attr[])
Build an aside element.
Declaration
public static TagBuilder aside(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
aside(IEnumerable<Attr>)
Build an aside element.
Declaration
public static TagBuilder aside(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
aside(String, String, String, String, String, String)
Build an aside element.
Declaration
public static TagBuilder aside(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
aside_(Html[])
Build an aside element without any attributes.
Declaration
public static Html aside_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
aside_(IEnumerable<Html>)
Build an aside element without any attributes.
Declaration
public static Html aside_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
audio(Attr[])
Build an audio element.
Declaration
public static TagBuilder audio(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
audio(IEnumerable<Attr>)
Build an audio element.
Declaration
public static TagBuilder audio(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
audio(String, String, String, String, String, String, String, String, String, Boolean, Boolean, Boolean, Boolean)
Build an audio element.
Declaration
public static TagBuilder audio(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string src = null, string preload = null, string volume = null, bool autoplay = false, bool loop = false, bool muted = false, bool controls = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | src | |
String | preload | |
String | volume | |
Boolean | autoplay | |
Boolean | loop | |
Boolean | muted | |
Boolean | controls |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
audio_(Html[])
Build an audio element without any attributes.
Declaration
public static Html audio_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
audio_(IEnumerable<Html>)
Build an audio element without any attributes.
Declaration
public static Html audio_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
b(Attr[])
Build a b element.
Declaration
public static TagBuilder b(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
b(IEnumerable<Attr>)
Build a b element.
Declaration
public static TagBuilder b(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
b(String, String, String, String, String, String)
Build a b element.
Declaration
public static TagBuilder b(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
b_(Html[])
Build a b element without any attributes.
Declaration
public static Html b_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
b_(IEnumerable<Html>)
Build a b element without any attributes.
Declaration
public static Html b_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
base(Attr[])
Build a base element.
Declaration
public static Html base(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
Html | The element |
base(IEnumerable<Attr>)
Build a base element.
Declaration
public static Html base(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
Html | The element |
base(String, String, String, String, String, String, String, String)
Build a base element.
Declaration
public static Html base(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string href = null, string target = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | href | |
String | target |
Returns
Type | Description |
---|---|
Html | The element |
bdi(Attr[])
Build a bdi element.
Declaration
public static TagBuilder bdi(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
bdi(IEnumerable<Attr>)
Build a bdi element.
Declaration
public static TagBuilder bdi(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
bdi(String, String, String, String, String, String, String)
Build a bdi element.
Declaration
public static TagBuilder bdi(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string dir = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | dir |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
bdi_(Html[])
Build a bdi element without any attributes.
Declaration
public static Html bdi_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
bdi_(IEnumerable<Html>)
Build a bdi element without any attributes.
Declaration
public static Html bdi_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
bdo(Attr[])
Build a bdo element.
Declaration
public static TagBuilder bdo(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
bdo(IEnumerable<Attr>)
Build a bdo element.
Declaration
public static TagBuilder bdo(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
bdo(String, String, String, String, String, String, String)
Build a bdo element.
Declaration
public static TagBuilder bdo(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string dir = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | dir |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
bdo_(Html[])
Build a bdo element without any attributes.
Declaration
public static Html bdo_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
bdo_(IEnumerable<Html>)
Build a bdo element without any attributes.
Declaration
public static Html bdo_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
blockquote(Attr[])
Build a blockquote element.
Declaration
public static TagBuilder blockquote(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
blockquote(IEnumerable<Attr>)
Build a blockquote element.
Declaration
public static TagBuilder blockquote(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
blockquote(String, String, String, String, String, String)
Build a blockquote element.
Declaration
public static TagBuilder blockquote(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
blockquote_(Html[])
Build a blockquote element without any attributes.
Declaration
public static Html blockquote_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
blockquote_(IEnumerable<Html>)
Build a blockquote element without any attributes.
Declaration
public static Html blockquote_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
body(Attr[])
Build a body element.
Declaration
public static TagBuilder body(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
body(IEnumerable<Attr>)
Build a body element.
Declaration
public static TagBuilder body(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
body(String, String, String, String, String, String)
Build a body element.
Declaration
public static TagBuilder body(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
body_(Html[])
Build a body element without any attributes.
Declaration
public static Html body_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
body_(IEnumerable<Html>)
Build a body element without any attributes.
Declaration
public static Html body_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
br(Attr[])
Build a br element.
Declaration
public static Html br(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
Html | The element |
br(IEnumerable<Attr>)
Build a br element.
Declaration
public static Html br(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
Html | The element |
br(String, String, String, String, String, String)
Build a br element.
Declaration
public static Html br(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
Html | The element |
Builder(Func<HtmlBuilder>)
Run the HtmlBuilder returned by builderFactory
.
The Html returned from this method cannot write itself asynchronously; its CanWriteAsync will return false and its WriteAsync(TextWriter) method will throw InvalidOperationException.
builderFactory
should generally return a newly created HtmlBuilder,
not a cached instance. Returning a cached HtmlBuilder is risky if it's possible that this
Html's Write(TextWriter) method will be called concurrently by multiple threads.
Declaration
public static Html Builder(Func<HtmlBuilder> builderFactory)
Parameters
Type | Name | Description |
---|---|---|
System.Func<HtmlBuilder> | builderFactory | A function to create an HtmlBuilder |
Returns
Type | Description |
---|---|
Html | An instance of Html. |
button(Attr[])
Build a button element.
Declaration
public static TagBuilder button(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
button(IEnumerable<Attr>)
Build a button element.
Declaration
public static TagBuilder button(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
button(String, String, String, String, String, String, String, String, String, Boolean, Boolean, String, String, String, String, String, String, String, String, Boolean)
Build a button element.
Declaration
public static TagBuilder button(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string name = null, string type = null, string value = null, bool autofocus = false, bool disabled = false, string src = null, string height = null, string width = null, string form = null, string formaction = null, string formmethod = null, string formtarget = null, string formenctype = null, bool formnovalidate = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | name | |
String | type | |
String | value | |
Boolean | autofocus | |
Boolean | disabled | |
String | src | |
String | height | |
String | width | |
String | form | |
String | formaction | |
String | formmethod | |
String | formtarget | |
String | formenctype | |
Boolean | formnovalidate |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
button_(Html[])
Build a button element without any attributes.
Declaration
public static Html button_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
button_(IEnumerable<Html>)
Build a button element without any attributes.
Declaration
public static Html button_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
canvas(Attr[])
Build a canvas element.
Declaration
public static TagBuilder canvas(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
canvas(IEnumerable<Attr>)
Build a canvas element.
Declaration
public static TagBuilder canvas(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
canvas(String, String, String, String, String, String, String, String)
Build a canvas element.
Declaration
public static TagBuilder canvas(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string height = null, string width = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | height | |
String | width |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
canvas_(Html[])
Build a canvas element without any attributes.
Declaration
public static Html canvas_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
canvas_(IEnumerable<Html>)
Build a canvas element without any attributes.
Declaration
public static Html canvas_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
caption(Attr[])
Build a caption element.
Declaration
public static TagBuilder caption(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
caption(IEnumerable<Attr>)
Build a caption element.
Declaration
public static TagBuilder caption(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
caption(String, String, String, String, String, String)
Build a caption element.
Declaration
public static TagBuilder caption(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
caption_(Html[])
Build a caption element without any attributes.
Declaration
public static Html caption_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
caption_(IEnumerable<Html>)
Build a caption element without any attributes.
Declaration
public static Html caption_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
cite(Attr[])
Build a cite element.
Declaration
public static TagBuilder cite(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
cite(IEnumerable<Attr>)
Build a cite element.
Declaration
public static TagBuilder cite(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
cite(String, String, String, String, String, String)
Build a cite element.
Declaration
public static TagBuilder cite(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
cite_(Html[])
Build a cite element without any attributes.
Declaration
public static Html cite_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
cite_(IEnumerable<Html>)
Build a cite element without any attributes.
Declaration
public static Html cite_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
code(Attr[])
Build a code element.
Declaration
public static TagBuilder code(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
code(IEnumerable<Attr>)
Build a code element.
Declaration
public static TagBuilder code(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
code(String, String, String, String, String, String)
Build a code element.
Declaration
public static TagBuilder code(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
code_(Html[])
Build a code element without any attributes.
Declaration
public static Html code_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
code_(IEnumerable<Html>)
Build a code element without any attributes.
Declaration
public static Html code_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
col(Attr[])
Build a col element.
Declaration
public static TagBuilder col(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
col(IEnumerable<Attr>)
Build a col element.
Declaration
public static TagBuilder col(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
col(String, String, String, String, String, String, String)
Build a col element.
Declaration
public static TagBuilder col(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string span = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | span |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
col_(Html[])
Build a col element without any attributes.
Declaration
public static Html col_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
col_(IEnumerable<Html>)
Build a col element without any attributes.
Declaration
public static Html col_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
colgroup(Attr[])
Build a colgroup element.
Declaration
public static TagBuilder colgroup(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
colgroup(IEnumerable<Attr>)
Build a colgroup element.
Declaration
public static TagBuilder colgroup(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
colgroup(String, String, String, String, String, String, String)
Build a colgroup element.
Declaration
public static TagBuilder colgroup(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string span = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | span |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
colgroup_(Html[])
Build a colgroup element without any attributes.
Declaration
public static Html colgroup_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
colgroup_(IEnumerable<Html>)
Build a colgroup element without any attributes.
Declaration
public static Html colgroup_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
data(Attr[])
Build a data element.
Declaration
public static TagBuilder data(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
data(IEnumerable<Attr>)
Build a data element.
Declaration
public static TagBuilder data(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
data(String, String, String, String, String, String, String)
Build a data element.
Declaration
public static TagBuilder data(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string value = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | value |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
data_(Html[])
Build a data element without any attributes.
Declaration
public static Html data_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
data_(IEnumerable<Html>)
Build a data element without any attributes.
Declaration
public static Html data_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
datalist(Attr[])
Build a datalist element.
Declaration
public static TagBuilder datalist(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
datalist(IEnumerable<Attr>)
Build a datalist element.
Declaration
public static TagBuilder datalist(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
datalist(String, String, String, String, String, String)
Build a datalist element.
Declaration
public static TagBuilder datalist(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
datalist_(Html[])
Build a datalist element without any attributes.
Declaration
public static Html datalist_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
datalist_(IEnumerable<Html>)
Build a datalist element without any attributes.
Declaration
public static Html datalist_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
dd(Attr[])
Build a dd element.
Declaration
public static TagBuilder dd(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dd(IEnumerable<Attr>)
Build a dd element.
Declaration
public static TagBuilder dd(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dd(String, String, String, String, String, String)
Build a dd element.
Declaration
public static TagBuilder dd(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dd_(Html[])
Build a dd element without any attributes.
Declaration
public static Html dd_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
dd_(IEnumerable<Html>)
Build a dd element without any attributes.
Declaration
public static Html dd_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
details(Attr[])
Build a details element.
Declaration
public static TagBuilder details(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
details(IEnumerable<Attr>)
Build a details element.
Declaration
public static TagBuilder details(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
details(String, String, String, String, String, String, Boolean)
Build a details element.
Declaration
public static TagBuilder details(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, bool open = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
Boolean | open |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
details_(Html[])
Build a details element without any attributes.
Declaration
public static Html details_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
details_(IEnumerable<Html>)
Build a details element without any attributes.
Declaration
public static Html details_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
dfn(Attr[])
Build a dfn element.
Declaration
public static TagBuilder dfn(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dfn(IEnumerable<Attr>)
Build a dfn element.
Declaration
public static TagBuilder dfn(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dfn(String, String, String, String, String, String)
Build a dfn element.
Declaration
public static TagBuilder dfn(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dfn_(Html[])
Build a dfn element without any attributes.
Declaration
public static Html dfn_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
dfn_(IEnumerable<Html>)
Build a dfn element without any attributes.
Declaration
public static Html dfn_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
dialog(Attr[])
Build a dialog element.
Declaration
public static TagBuilder dialog(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dialog(IEnumerable<Attr>)
Build a dialog element.
Declaration
public static TagBuilder dialog(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dialog(String, String, String, String, String, String, Boolean)
Build a dialog element.
Declaration
public static TagBuilder dialog(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, bool open = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
Boolean | open |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dialog_(Html[])
Build a dialog element without any attributes.
Declaration
public static Html dialog_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
dialog_(IEnumerable<Html>)
Build a dialog element without any attributes.
Declaration
public static Html dialog_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
div(Attr[])
Build a div element.
Declaration
public static TagBuilder div(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
div(IEnumerable<Attr>)
Build a div element.
Declaration
public static TagBuilder div(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
div(String, String, String, String, String, String)
Build a div element.
Declaration
public static TagBuilder div(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
div_(Html[])
Build a div element without any attributes.
Declaration
public static Html div_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
div_(IEnumerable<Html>)
Build a div element without any attributes.
Declaration
public static Html div_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
dl(Attr[])
Build a dl element.
Declaration
public static TagBuilder dl(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dl(IEnumerable<Attr>)
Build a dl element.
Declaration
public static TagBuilder dl(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dl(String, String, String, String, String, String)
Build a dl element.
Declaration
public static TagBuilder dl(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dl_(Html[])
Build a dl element without any attributes.
Declaration
public static Html dl_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
dl_(IEnumerable<Html>)
Build a dl element without any attributes.
Declaration
public static Html dl_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
doctype()
Write the <!DOCTYPE HTML>
preamble.
Declaration
public static Html doctype()
Returns
Type | Description |
---|---|
Html | An instance of Html. |
doctypeHtml_(Html[])
Write the <!DOCTYPE HTML>
preamble and create an html
tag with children.
Declaration
public static Html doctypeHtml_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | An instance of Html. |
dt(Attr[])
Build a dt element.
Declaration
public static TagBuilder dt(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dt(IEnumerable<Attr>)
Build a dt element.
Declaration
public static TagBuilder dt(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dt(String, String, String, String, String, String)
Build a dt element.
Declaration
public static TagBuilder dt(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
dt_(Html[])
Build a dt element without any attributes.
Declaration
public static Html dt_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
dt_(IEnumerable<Html>)
Build a dt element without any attributes.
Declaration
public static Html dt_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
em(Attr[])
Build an em element.
Declaration
public static TagBuilder em(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
em(IEnumerable<Attr>)
Build an em element.
Declaration
public static TagBuilder em(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
em(String, String, String, String, String, String)
Build an em element.
Declaration
public static TagBuilder em(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
em_(Html[])
Build an em element without any attributes.
Declaration
public static Html em_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
em_(IEnumerable<Html>)
Build an em element without any attributes.
Declaration
public static Html em_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
embed(Attr[])
Build an embed element.
Declaration
public static Html embed(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
Html | The element |
embed(IEnumerable<Attr>)
Build an embed element.
Declaration
public static Html embed(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
Html | The element |
embed(String, String, String, String, String, String, String, String, String, String)
Build an embed element.
Declaration
public static Html embed(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string type = null, string src = null, string height = null, string width = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | type | |
String | src | |
String | height | |
String | width |
Returns
Type | Description |
---|---|
Html | The element |
fieldset(Attr[])
Build a fieldset element.
Declaration
public static TagBuilder fieldset(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
fieldset(IEnumerable<Attr>)
Build a fieldset element.
Declaration
public static TagBuilder fieldset(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
fieldset(String, String, String, String, String, String, String, Boolean, String)
Build a fieldset element.
Declaration
public static TagBuilder fieldset(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string name = null, bool disabled = false, string form = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | name | |
Boolean | disabled | |
String | form |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
fieldset_(Html[])
Build a fieldset element without any attributes.
Declaration
public static Html fieldset_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
fieldset_(IEnumerable<Html>)
Build a fieldset element without any attributes.
Declaration
public static Html fieldset_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
figcaption(Attr[])
Build a figcaption element.
Declaration
public static TagBuilder figcaption(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
figcaption(IEnumerable<Attr>)
Build a figcaption element.
Declaration
public static TagBuilder figcaption(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
figcaption(String, String, String, String, String, String)
Build a figcaption element.
Declaration
public static TagBuilder figcaption(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
figcaption_(Html[])
Build a figcaption element without any attributes.
Declaration
public static Html figcaption_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
figcaption_(IEnumerable<Html>)
Build a figcaption element without any attributes.
Declaration
public static Html figcaption_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
figure(Attr[])
Build a figure element.
Declaration
public static TagBuilder figure(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
figure(IEnumerable<Attr>)
Build a figure element.
Declaration
public static TagBuilder figure(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
figure(String, String, String, String, String, String)
Build a figure element.
Declaration
public static TagBuilder figure(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
figure_(Html[])
Build a figure element without any attributes.
Declaration
public static Html figure_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
figure_(IEnumerable<Html>)
Build a figure element without any attributes.
Declaration
public static Html figure_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
footer(Attr[])
Build a footer element.
Declaration
public static TagBuilder footer(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
footer(IEnumerable<Attr>)
Build a footer element.
Declaration
public static TagBuilder footer(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
footer(String, String, String, String, String, String)
Build a footer element.
Declaration
public static TagBuilder footer(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
footer_(Html[])
Build a footer element without any attributes.
Declaration
public static Html footer_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
footer_(IEnumerable<Html>)
Build a footer element without any attributes.
Declaration
public static Html footer_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
form(Attr[])
Build a form element.
Declaration
public static TagBuilder form(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
form(IEnumerable<Attr>)
Build a form element.
Declaration
public static TagBuilder form(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
form(String, String, String, String, String, String, String, String, String, String, String, String, Boolean)
Build a form element.
Declaration
public static TagBuilder form(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string name = null, string action = null, string method = null, string autocomplete = null, string target = null, string enctype = null, bool novalidate = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | name | |
String | action | |
String | method | |
String | autocomplete | |
String | target | |
String | enctype | |
Boolean | novalidate |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
form_(Html[])
Build a form element without any attributes.
Declaration
public static Html form_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
form_(IEnumerable<Html>)
Build a form element without any attributes.
Declaration
public static Html form_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
h1(Attr[])
Build an h1 element.
Declaration
public static TagBuilder h1(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h1(IEnumerable<Attr>)
Build an h1 element.
Declaration
public static TagBuilder h1(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h1(String, String, String, String, String, String)
Build an h1 element.
Declaration
public static TagBuilder h1(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h1_(Html[])
Build an h1 element without any attributes.
Declaration
public static Html h1_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
h1_(IEnumerable<Html>)
Build an h1 element without any attributes.
Declaration
public static Html h1_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
h2(Attr[])
Build an h2 element.
Declaration
public static TagBuilder h2(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h2(IEnumerable<Attr>)
Build an h2 element.
Declaration
public static TagBuilder h2(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h2(String, String, String, String, String, String)
Build an h2 element.
Declaration
public static TagBuilder h2(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h2_(Html[])
Build an h2 element without any attributes.
Declaration
public static Html h2_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
h2_(IEnumerable<Html>)
Build an h2 element without any attributes.
Declaration
public static Html h2_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
h3(Attr[])
Build an h3 element.
Declaration
public static TagBuilder h3(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h3(IEnumerable<Attr>)
Build an h3 element.
Declaration
public static TagBuilder h3(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h3(String, String, String, String, String, String)
Build an h3 element.
Declaration
public static TagBuilder h3(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h3_(Html[])
Build an h3 element without any attributes.
Declaration
public static Html h3_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
h3_(IEnumerable<Html>)
Build an h3 element without any attributes.
Declaration
public static Html h3_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
h4(Attr[])
Build an h4 element.
Declaration
public static TagBuilder h4(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h4(IEnumerable<Attr>)
Build an h4 element.
Declaration
public static TagBuilder h4(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h4(String, String, String, String, String, String)
Build an h4 element.
Declaration
public static TagBuilder h4(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h4_(Html[])
Build an h4 element without any attributes.
Declaration
public static Html h4_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
h4_(IEnumerable<Html>)
Build an h4 element without any attributes.
Declaration
public static Html h4_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
h5(Attr[])
Build an h5 element.
Declaration
public static TagBuilder h5(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h5(IEnumerable<Attr>)
Build an h5 element.
Declaration
public static TagBuilder h5(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h5(String, String, String, String, String, String)
Build an h5 element.
Declaration
public static TagBuilder h5(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h5_(Html[])
Build an h5 element without any attributes.
Declaration
public static Html h5_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
h5_(IEnumerable<Html>)
Build an h5 element without any attributes.
Declaration
public static Html h5_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
h6(Attr[])
Build an h6 element.
Declaration
public static TagBuilder h6(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h6(IEnumerable<Attr>)
Build an h6 element.
Declaration
public static TagBuilder h6(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h6(String, String, String, String, String, String)
Build an h6 element.
Declaration
public static TagBuilder h6(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
h6_(Html[])
Build an h6 element without any attributes.
Declaration
public static Html h6_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
h6_(IEnumerable<Html>)
Build an h6 element without any attributes.
Declaration
public static Html h6_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
head(Attr[])
Build a head element.
Declaration
public static TagBuilder head(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
head(IEnumerable<Attr>)
Build a head element.
Declaration
public static TagBuilder head(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
head(String, String, String, String, String, String)
Build a head element.
Declaration
public static TagBuilder head(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
head_(Html[])
Build a head element without any attributes.
Declaration
public static Html head_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
head_(IEnumerable<Html>)
Build a head element without any attributes.
Declaration
public static Html head_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
header(Attr[])
Build a header element.
Declaration
public static TagBuilder header(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
header(IEnumerable<Attr>)
Build a header element.
Declaration
public static TagBuilder header(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
header(String, String, String, String, String, String)
Build a header element.
Declaration
public static TagBuilder header(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
header_(Html[])
Build a header element without any attributes.
Declaration
public static Html header_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
header_(IEnumerable<Html>)
Build a header element without any attributes.
Declaration
public static Html header_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
hgroup(Attr[])
Build a hgroup element.
Declaration
public static TagBuilder hgroup(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
hgroup(IEnumerable<Attr>)
Build a hgroup element.
Declaration
public static TagBuilder hgroup(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
hgroup(String, String, String, String, String, String)
Build a hgroup element.
Declaration
public static TagBuilder hgroup(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
hgroup_(Html[])
Build a hgroup element without any attributes.
Declaration
public static Html hgroup_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
hgroup_(IEnumerable<Html>)
Build a hgroup element without any attributes.
Declaration
public static Html hgroup_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
hr(Attr[])
Build an hr element.
Declaration
public static Html hr(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
Html | The element |
hr(IEnumerable<Attr>)
Build an hr element.
Declaration
public static Html hr(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
Html | The element |
hr(String, String, String, String, String, String)
Build an hr element.
Declaration
public static Html hr(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
Html | The element |
html(Attr[])
Build an html element.
Declaration
public static TagBuilder html(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
html(IEnumerable<Attr>)
Build an html element.
Declaration
public static TagBuilder html(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
html(String, String, String, String, String, String, String)
Build an html element.
Declaration
public static TagBuilder html(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string xmlns = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | xmlns |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
html_(Html[])
Build an html element without any attributes.
Declaration
public static Html html_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
html_(IEnumerable<Html>)
Build an html element without any attributes.
Declaration
public static Html html_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
i(Attr[])
Build an i element.
Declaration
public static TagBuilder i(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
i(IEnumerable<Attr>)
Build an i element.
Declaration
public static TagBuilder i(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
i(String, String, String, String, String, String)
Build an i element.
Declaration
public static TagBuilder i(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
i_(Html[])
Build an i element without any attributes.
Declaration
public static Html i_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
i_(IEnumerable<Html>)
Build an i element without any attributes.
Declaration
public static Html i_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
img(Attr[])
Build an img element.
Declaration
public static Html img(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
Html | The element |
img(IEnumerable<Attr>)
Build an img element.
Declaration
public static Html img(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
Html | The element |
img(String, String, String, String, String, String, String, String, String, String, String, String, String)
Build an img element.
Declaration
public static Html img(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string src = null, string alt = null, string height = null, string width = null, string srcset = null, string sizes = null, string crossorigin = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | src | |
String | alt | |
String | height | |
String | width | |
String | srcset | |
String | sizes | |
String | crossorigin |
Returns
Type | Description |
---|---|
Html | The element |
input(Attr[])
Build an input element.
Declaration
public static TagBuilder input(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
input(IEnumerable<Attr>)
Build an input element.
Declaration
public static TagBuilder input(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
input(String, String, String, String, String, String, String, String, String, String, String, String, String, String, Boolean, Boolean, Boolean, Boolean, Boolean, String, String, String, String, String, String, String, String, String, String, String, String, String, String, Boolean)
Build an input element.
Declaration
public static TagBuilder input(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string name = null, string type = null, string multiple = null, string value = null, string placeholder = null, string size = null, string autocomplete = null, string list = null, bool autofocus = false, bool checked = false, bool disabled = false, bool readonly = false, bool required = false, string src = null, string height = null, string width = null, string max = null, string min = null, string step = null, string maxlength = null, string minlength = null, string pattern = null, string form = null, string formaction = null, string formmethod = null, string formtarget = null, string formenctype = null, bool formnovalidate = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | name | |
String | type | |
String | multiple | |
String | value | |
String | placeholder | |
String | size | |
String | autocomplete | |
String | list | |
Boolean | autofocus | |
Boolean | checked | |
Boolean | disabled | |
Boolean | readonly | |
Boolean | required | |
String | src | |
String | height | |
String | width | |
String | max | |
String | min | |
String | step | |
String | maxlength | |
String | minlength | |
String | pattern | |
String | form | |
String | formaction | |
String | formmethod | |
String | formtarget | |
String | formenctype | |
Boolean | formnovalidate |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
input_(Html[])
Build an input element without any attributes.
Declaration
public static Html input_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
input_(IEnumerable<Html>)
Build an input element without any attributes.
Declaration
public static Html input_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
kbd(Attr[])
Build a kbd element.
Declaration
public static TagBuilder kbd(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
kbd(IEnumerable<Attr>)
Build a kbd element.
Declaration
public static TagBuilder kbd(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
kbd(String, String, String, String, String, String)
Build a kbd element.
Declaration
public static TagBuilder kbd(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
kbd_(Html[])
Build a kbd element without any attributes.
Declaration
public static Html kbd_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
kbd_(IEnumerable<Html>)
Build a kbd element without any attributes.
Declaration
public static Html kbd_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
label(Attr[])
Build a label element.
Declaration
public static TagBuilder label(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
label(IEnumerable<Attr>)
Build a label element.
Declaration
public static TagBuilder label(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
label(String, String, String, String, String, String, String)
Build a label element.
Declaration
public static TagBuilder label(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string for = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | for |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
label_(Html[])
Build a label element without any attributes.
Declaration
public static Html label_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
label_(IEnumerable<Html>)
Build a label element without any attributes.
Declaration
public static Html label_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
legend(Attr[])
Build a legend element.
Declaration
public static TagBuilder legend(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
legend(IEnumerable<Attr>)
Build a legend element.
Declaration
public static TagBuilder legend(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
legend(String, String, String, String, String, String)
Build a legend element.
Declaration
public static TagBuilder legend(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
legend_(Html[])
Build a legend element without any attributes.
Declaration
public static Html legend_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
legend_(IEnumerable<Html>)
Build a legend element without any attributes.
Declaration
public static Html legend_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
li(Attr[])
Build an li element.
Declaration
public static TagBuilder li(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
li(IEnumerable<Attr>)
Build an li element.
Declaration
public static TagBuilder li(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
li(String, String, String, String, String, String, String)
Build an li element.
Declaration
public static TagBuilder li(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string value = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | value |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
li_(Html[])
Build an li element without any attributes.
Declaration
public static Html li_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
li_(IEnumerable<Html>)
Build an li element without any attributes.
Declaration
public static Html li_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
link(Attr[])
Build a link element.
Declaration
public static Html link(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
Html | The element |
link(IEnumerable<Attr>)
Build a link element.
Declaration
public static Html link(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
Html | The element |
link(String, String, String, String, String, String, String, String, String, String, String, String)
Build a link element.
Declaration
public static Html link(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string crossorigin = null, string rel = null, string href = null, string type = null, string media = null, string sizes = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | crossorigin | |
String | rel | |
String | href | |
String | type | |
String | media | |
String | sizes |
Returns
Type | Description |
---|---|
Html | The element |
main(Attr[])
Build a main element.
Declaration
public static TagBuilder main(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
main(IEnumerable<Attr>)
Build a main element.
Declaration
public static TagBuilder main(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
main(String, String, String, String, String, String)
Build a main element.
Declaration
public static TagBuilder main(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
main_(Html[])
Build a main element without any attributes.
Declaration
public static Html main_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
main_(IEnumerable<Html>)
Build a main element without any attributes.
Declaration
public static Html main_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
mark(Attr[])
Build a mark element.
Declaration
public static TagBuilder mark(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
mark(IEnumerable<Attr>)
Build a mark element.
Declaration
public static TagBuilder mark(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
mark(String, String, String, String, String, String)
Build a mark element.
Declaration
public static TagBuilder mark(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
mark_(Html[])
Build a mark element without any attributes.
Declaration
public static Html mark_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
mark_(IEnumerable<Html>)
Build a mark element without any attributes.
Declaration
public static Html mark_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
menu(Attr[])
Build a menu element.
Declaration
public static TagBuilder menu(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
menu(IEnumerable<Attr>)
Build a menu element.
Declaration
public static TagBuilder menu(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
menu(String, String, String, String, String, String, String, String)
Build a menu element.
Declaration
public static TagBuilder menu(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string type = null, string label = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | type | |
String | label |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
menu_(Html[])
Build a menu element without any attributes.
Declaration
public static Html menu_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
menu_(IEnumerable<Html>)
Build a menu element without any attributes.
Declaration
public static Html menu_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
menuitem(Attr[])
Build a menuitem element.
Declaration
public static TagBuilder menuitem(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
menuitem(IEnumerable<Attr>)
Build a menuitem element.
Declaration
public static TagBuilder menuitem(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
menuitem(String, String, String, String, String, String, String, String, String, String, String, Boolean, Boolean, Boolean)
Build a menuitem element.
Declaration
public static TagBuilder menuitem(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string type = null, string label = null, string command = null, string icon = null, string radiogroup = null, bool disabled = false, bool default = false, bool checked = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | type | |
String | label | |
String | command | |
String | icon | |
String | radiogroup | |
Boolean | disabled | |
Boolean | default | |
Boolean | checked |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
menuitem_(Html[])
Build a menuitem element without any attributes.
Declaration
public static Html menuitem_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
menuitem_(IEnumerable<Html>)
Build a menuitem element without any attributes.
Declaration
public static Html menuitem_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
meta(Attr[])
Build a meta element.
Declaration
public static Html meta(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
Html | The element |
meta(IEnumerable<Attr>)
Build a meta element.
Declaration
public static Html meta(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
Html | The element |
meta(String, String, String, String, String, String, String, String)
Build a meta element.
Declaration
public static Html meta(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string charset = null, string target = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | charset | |
String | target |
Returns
Type | Description |
---|---|
Html | The element |
meter(Attr[])
Build a meter element.
Declaration
public static TagBuilder meter(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
meter(IEnumerable<Attr>)
Build a meter element.
Declaration
public static TagBuilder meter(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
meter(String, String, String, String, String, String, String, String, String, String, String, String, String)
Build a meter element.
Declaration
public static TagBuilder meter(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string value = null, string form = null, string max = null, string min = null, string low = null, string high = null, string optimum = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | value | |
String | form | |
String | max | |
String | min | |
String | low | |
String | high | |
String | optimum |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
meter_(Html[])
Build a meter element without any attributes.
Declaration
public static Html meter_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
meter_(IEnumerable<Html>)
Build a meter element without any attributes.
Declaration
public static Html meter_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
nav(Attr[])
Build a nav element.
Declaration
public static TagBuilder nav(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
nav(IEnumerable<Attr>)
Build a nav element.
Declaration
public static TagBuilder nav(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
nav(String, String, String, String, String, String)
Build a nav element.
Declaration
public static TagBuilder nav(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
nav_(Html[])
Build a nav element without any attributes.
Declaration
public static Html nav_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
nav_(IEnumerable<Html>)
Build a nav element without any attributes.
Declaration
public static Html nav_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
noscript(Attr[])
Build a noscript element.
Declaration
public static TagBuilder noscript(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
noscript(IEnumerable<Attr>)
Build a noscript element.
Declaration
public static TagBuilder noscript(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
noscript(String, String, String, String, String, String)
Build a noscript element.
Declaration
public static TagBuilder noscript(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
noscript_(Html[])
Build a noscript element without any attributes.
Declaration
public static Html noscript_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
noscript_(IEnumerable<Html>)
Build a noscript element without any attributes.
Declaration
public static Html noscript_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
object(Attr[])
Build an object element.
Declaration
public static TagBuilder object(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
object(IEnumerable<Attr>)
Build an object element.
Declaration
public static TagBuilder object(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
object(String, String, String, String, String, String, String, String, String, String, String)
Build an object element.
Declaration
public static TagBuilder object(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string type = null, string data = null, string height = null, string width = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | type | |
String | data | |
String | height | |
String | width | |
String | name |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
object_(Html[])
Build an object element without any attributes.
Declaration
public static Html object_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
object_(IEnumerable<Html>)
Build an object element without any attributes.
Declaration
public static Html object_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
ol(Attr[])
Build an ol element.
Declaration
public static TagBuilder ol(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
ol(IEnumerable<Attr>)
Build an ol element.
Declaration
public static TagBuilder ol(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
ol(String, String, String, String, String, String, String, Boolean, String)
Build an ol element.
Declaration
public static TagBuilder ol(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string type = null, bool reversed = false, string start = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | type | |
Boolean | reversed | |
String | start |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
ol_(Html[])
Build an ol element without any attributes.
Declaration
public static Html ol_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
ol_(IEnumerable<Html>)
Build an ol element without any attributes.
Declaration
public static Html ol_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
optgroup(Attr[])
Build an optgroup element.
Declaration
public static TagBuilder optgroup(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
optgroup(IEnumerable<Attr>)
Build an optgroup element.
Declaration
public static TagBuilder optgroup(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
optgroup(String, String, String, String, String, String, String, Boolean)
Build an optgroup element.
Declaration
public static TagBuilder optgroup(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string label = null, bool disabled = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | label | |
Boolean | disabled |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
optgroup_(Html[])
Build an optgroup element without any attributes.
Declaration
public static Html optgroup_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
optgroup_(IEnumerable<Html>)
Build an optgroup element without any attributes.
Declaration
public static Html optgroup_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
option(Attr[])
Build an option element.
Declaration
public static TagBuilder option(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
option(IEnumerable<Attr>)
Build an option element.
Declaration
public static TagBuilder option(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
option(String, String, String, String, String, String, String, String, Boolean, Boolean)
Build an option element.
Declaration
public static TagBuilder option(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string label = null, string value = null, bool disabled = false, bool selected = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | label | |
String | value | |
Boolean | disabled | |
Boolean | selected |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
option_(Html[])
Build an option element without any attributes.
Declaration
public static Html option_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
option_(IEnumerable<Html>)
Build an option element without any attributes.
Declaration
public static Html option_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
output(Attr[])
Build an output element.
Declaration
public static TagBuilder output(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
output(IEnumerable<Attr>)
Build an output element.
Declaration
public static TagBuilder output(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
output(String, String, String, String, String, String, String, String, String)
Build an output element.
Declaration
public static TagBuilder output(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string for = null, string name = null, string form = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | for | |
String | name | |
String | form |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
output_(Html[])
Build an output element without any attributes.
Declaration
public static Html output_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
output_(IEnumerable<Html>)
Build an output element without any attributes.
Declaration
public static Html output_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
p(Attr[])
Build a p element.
Declaration
public static TagBuilder p(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
p(IEnumerable<Attr>)
Build a p element.
Declaration
public static TagBuilder p(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
p(String, String, String, String, String, String)
Build a p element.
Declaration
public static TagBuilder p(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
p_(Html[])
Build a p element without any attributes.
Declaration
public static Html p_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
p_(IEnumerable<Html>)
Build a p element without any attributes.
Declaration
public static Html p_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
param(Attr[])
Build a param element.
Declaration
public static Html param(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
Html | The element |
param(IEnumerable<Attr>)
Build a param element.
Declaration
public static Html param(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
Html | The element |
param(String, String, String, String, String, String, String, String)
Build a param element.
Declaration
public static Html param(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string name = null, string value = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | name | |
String | value |
Returns
Type | Description |
---|---|
Html | The element |
picture(Attr[])
Build a picture element.
Declaration
public static TagBuilder picture(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
picture(IEnumerable<Attr>)
Build a picture element.
Declaration
public static TagBuilder picture(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
picture(String, String, String, String, String, String)
Build a picture element.
Declaration
public static TagBuilder picture(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
picture_(Html[])
Build a picture element without any attributes.
Declaration
public static Html picture_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
picture_(IEnumerable<Html>)
Build a picture element without any attributes.
Declaration
public static Html picture_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
pre(Attr[])
Build a pre element.
Declaration
public static TagBuilder pre(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
pre(IEnumerable<Attr>)
Build a pre element.
Declaration
public static TagBuilder pre(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
pre(String, String, String, String, String, String)
Build a pre element.
Declaration
public static TagBuilder pre(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
pre_(Html[])
Build a pre element without any attributes.
Declaration
public static Html pre_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
pre_(IEnumerable<Html>)
Build a pre element without any attributes.
Declaration
public static Html pre_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
progress(Attr[])
Build a progress element.
Declaration
public static TagBuilder progress(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
progress(IEnumerable<Attr>)
Build a progress element.
Declaration
public static TagBuilder progress(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
progress(String, String, String, String, String, String, String, String)
Build a progress element.
Declaration
public static TagBuilder progress(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string value = null, string max = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | value | |
String | max |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
progress_(Html[])
Build a progress element without any attributes.
Declaration
public static Html progress_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
progress_(IEnumerable<Html>)
Build a progress element without any attributes.
Declaration
public static Html progress_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
q(Attr[])
Build a q element.
Declaration
public static TagBuilder q(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
q(IEnumerable<Attr>)
Build a q element.
Declaration
public static TagBuilder q(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
q(String, String, String, String, String, String, String)
Build a q element.
Declaration
public static TagBuilder q(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string cite = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | cite |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
q_(Html[])
Build a q element without any attributes.
Declaration
public static Html q_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
q_(IEnumerable<Html>)
Build a q element without any attributes.
Declaration
public static Html q_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
Raw(String)
Render a string without HTML-encoding it first.
Declaration
public static Html Raw(string rawHtml)
Parameters
Type | Name | Description |
---|---|---|
String | rawHtml | The pre-encoded string |
Returns
Type | Description |
---|---|
Html | An instance of Html. |
s(Attr[])
Build an s element.
Declaration
public static TagBuilder s(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
s(IEnumerable<Attr>)
Build an s element.
Declaration
public static TagBuilder s(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
s(String, String, String, String, String, String)
Build an s element.
Declaration
public static TagBuilder s(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
s_(Html[])
Build an s element without any attributes.
Declaration
public static Html s_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
s_(IEnumerable<Html>)
Build an s element without any attributes.
Declaration
public static Html s_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
samp(Attr[])
Build a samp element.
Declaration
public static TagBuilder samp(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
samp(IEnumerable<Attr>)
Build a samp element.
Declaration
public static TagBuilder samp(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
samp(String, String, String, String, String, String)
Build a samp element.
Declaration
public static TagBuilder samp(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
samp_(Html[])
Build a samp element without any attributes.
Declaration
public static Html samp_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
samp_(IEnumerable<Html>)
Build a samp element without any attributes.
Declaration
public static Html samp_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
script(Attr[])
Build a script element.
Declaration
public static TagBuilder script(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
script(IEnumerable<Attr>)
Build a script element.
Declaration
public static TagBuilder script(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
script(String, String, String, String, String, String, String, String, String, Boolean)
Build a script element.
Declaration
public static TagBuilder script(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string type = null, string src = null, string crossorigin = null, bool async = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | type | |
String | src | |
String | crossorigin | |
Boolean | async |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
script_(Html[])
Build a script element without any attributes.
Declaration
public static Html script_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
script_(IEnumerable<Html>)
Build a script element without any attributes.
Declaration
public static Html script_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
section(Attr[])
Build a section element.
Declaration
public static TagBuilder section(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
section(IEnumerable<Attr>)
Build a section element.
Declaration
public static TagBuilder section(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
section(String, String, String, String, String, String)
Build a section element.
Declaration
public static TagBuilder section(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
section_(Html[])
Build a section element without any attributes.
Declaration
public static Html section_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
section_(IEnumerable<Html>)
Build a section element without any attributes.
Declaration
public static Html section_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
select(Attr[])
Build a select element.
Declaration
public static TagBuilder select(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
select(IEnumerable<Attr>)
Build a select element.
Declaration
public static TagBuilder select(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
select(String, String, String, String, String, String, String, String, String, Boolean, Boolean, Boolean, String)
Build a select element.
Declaration
public static TagBuilder select(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string name = null, string multiple = null, string size = null, bool autofocus = false, bool disabled = false, bool required = false, string form = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | name | |
String | multiple | |
String | size | |
Boolean | autofocus | |
Boolean | disabled | |
Boolean | required | |
String | form |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
select_(Html[])
Build a select element without any attributes.
Declaration
public static Html select_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
select_(IEnumerable<Html>)
Build a select element without any attributes.
Declaration
public static Html select_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
SelfClosingTag(String, Attr[])
Create a tag which does not take children.
Declaration
public static Html SelfClosingTag(string name, params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
String | name | |
Attr[] | attrs |
Returns
Type | Description |
---|---|
Html |
SelfClosingTag(String, IEnumerable<Attr>)
Create a tag which does not take children.
Declaration
public static Html SelfClosingTag(string name, IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
String | name | |
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
Html |
small(Attr[])
Build a small element.
Declaration
public static TagBuilder small(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
small(IEnumerable<Attr>)
Build a small element.
Declaration
public static TagBuilder small(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
small(String, String, String, String, String, String)
Build a small element.
Declaration
public static TagBuilder small(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
small_(Html[])
Build a small element without any attributes.
Declaration
public static Html small_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
small_(IEnumerable<Html>)
Build a small element without any attributes.
Declaration
public static Html small_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
source(Attr[])
Build a source element.
Declaration
public static Html source(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
Html | The element |
source(IEnumerable<Attr>)
Build a source element.
Declaration
public static Html source(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
Html | The element |
source(String, String, String, String, String, String, String, String)
Build a source element.
Declaration
public static Html source(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string type = null, string src = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | type | |
String | src |
Returns
Type | Description |
---|---|
Html | The element |
span(Attr[])
Build a span element.
Declaration
public static TagBuilder span(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
span(IEnumerable<Attr>)
Build a span element.
Declaration
public static TagBuilder span(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
span(String, String, String, String, String, String)
Build a span element.
Declaration
public static TagBuilder span(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
span_(Html[])
Build a span element without any attributes.
Declaration
public static Html span_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
span_(IEnumerable<Html>)
Build a span element without any attributes.
Declaration
public static Html span_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
strong(Attr[])
Build a strong element.
Declaration
public static TagBuilder strong(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
strong(IEnumerable<Attr>)
Build a strong element.
Declaration
public static TagBuilder strong(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
strong(String, String, String, String, String, String)
Build a strong element.
Declaration
public static TagBuilder strong(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
strong_(Html[])
Build a strong element without any attributes.
Declaration
public static Html strong_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
strong_(IEnumerable<Html>)
Build a strong element without any attributes.
Declaration
public static Html strong_(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
Returns
Type | Description |
---|---|
Html | The element |
style(Attr[])
Build a style element.
Declaration
public static TagBuilder style(params Attr[] attrs)
Parameters
Type | Name | Description |
---|---|---|
Attr[] | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
style(IEnumerable<Attr>)
Build a style element.
Declaration
public static TagBuilder style(IEnumerable<Attr> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Attr> | attrs |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
style(String, String, String, String, String, String, String, String)
Build a style element.
Declaration
public static TagBuilder style(string id = null, string class = null, string style = null, string title = null, string tabindex = null, string contenteditable = null, string type = null, string media = null)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
String | class | |
String | style | |
String | title | |
String | tabindex | |
String | contenteditable | |
String | type | |
String | media |
Returns
Type | Description |
---|---|
TagBuilder | A TagBuilder waiting for the element's children |
style_(Html[])
Build a style element without any attributes.
Declaration
public static Html style_(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
Returns
Type | Description |
---|---|
Html | The element |
style_(IEnumerable<Html>)
Build a style element without any attributes.