NodeFactory Interface

The factory of the Node and Tag objects.

C#
public interface NodeFactory
Derived

Remarks

See HTML5 specifications.

Properties

A

Gets a element representing hyperlink.

Abbr

Gets abbr element representing abbreviation.

Address

Gets address element representing contact information.

Area

Gets area element representing hyperlink or dead area on an image map.

Article

Gets article element representing self-contained syndicatable or reusable composition.

Aside

Gets aside element representing sidebar for tangentially related content.

Audio

Gets audio element representing audio player.

B

Gets b element representing keywords.

Base

Gets base element representing base URL and default target browsing context for hyperlinks and forms.

Bdi

Gets bdi element representing text directionality isolation.

Bdo

Gets bdo element representing text directionality formatting.

Blockquote

Gets blockquote element representing a section quoted from another source.

Body

Gets body element representing document body.

Br

Gets br element representing line break, e.g., in poem or postal address.

Button

Gets button element representing button control.

Canvas

Gets canvas element representing scriptable bitmap canvas.

Caption

Gets caption element representing table caption.

Cite

Gets cite element representing title of a work.

Code

Gets code element representing computer code.

Col

Gets col element representing table column.

Colgroup

Gets colgroup element representing group of columns in a table.

Data

Gets data element representing machine-readable equivalent.

Datalist

Gets datalist element representing container for options for combo box control.

Dd

Gets dd element representing content for corresponding dt element(s).

Del

Gets del element representing a removal from the document.

Details

Gets details element representing disclosure control for hiding details.

Dfn

Gets dfn element representing defining instance.

Dialog

Gets dialog element representing dialog box or window.

Div

Gets div element representing generic flow container.

Dl

Gets dl element representing association list consisting of zero or more name-value groups.

Dt

Gets dt element representing legend for corresponding dd element(s).

Em

Gets em element representing stress emphasis.

Embed

Gets embed element representing plugin.

Fieldset

Gets fieldset element representing group of form controls.

Figcaption

Gets figcaption element representing caption for figure.

Figure

Gets figure element representing figure with optional caption.

Footer

Gets footer element representing footer for a page or section.

Form

Gets form element representing user-submittable form.

H1

Gets h1 element representing section heading.

H2

Gets h2 element representing section heading.

H3

Gets h3 element representing section heading.

H4

Gets h4 element representing section heading.

H5

Gets h5 element representing section heading.

H6

Gets h6 element representing section heading.

Head

Gets head element representing container for document metadata.

Header

Gets header element representing introductory or navigational aids for a page or section.

Hr

Gets hr element representing thematic break.

Html

Gets html element representing root element.

I

Gets i element representing alternate voice.

Iframe

Gets iframe element representing nested browsing context.

Img

Gets img element representing image.

Input

Gets input element representing form control.

Ins

Gets ins element representing an addition to the document.

Kbd

Gets kbd element representing user input.

Label

Gets label element representing caption for a form control.

Legend

Gets legend element representing caption for fieldset.

Li

Gets li element representing list item.

Link

Gets link element representing link metadata.

Main

Gets main element representing main content of a document.

Map

Gets map element representing image map.

Mark

Gets mark element representing highlight.

Meta

Gets meta element representing text metadata.

Meter

Gets meter element representing gauge.

Nav

Gets nav element representing section with navigational links.

Noscript

Gets noscript element representing fallback content for script.

Object

Gets object element representing image, nested browsing context, or plugin.

Ol

Gets ol element representing ordered list.

Optgroup

Gets optgroup element representing group of options in a list box.

Option

Gets option element representing option in a list box or combo box control.

Output

Gets output element representing calculated output value.

P

Gets p element representing paragraph.

Param

Gets param element representing parameter for object.

Picture

Gets picture element representing image.

Pre

Gets pre element representing block of preformatted text.

Progress

Gets progress element representing progress bar.

Q

Gets q element representing quotation.

Rb

Gets rb element representing ruby base.

Rp

Gets rp element representing parenthesis for ruby annotation text.

Rt

Gets rt element representing ruby annotation text.

Rtc

Gets rtc element representing ruby annotation text container.

Ruby

Gets ruby element representing ruby annotation(s).

S

Gets s element representing inaccurate text.

Samp

Gets samp element representing computer output.

Script

Gets script element representing embedded script.

Section

Gets section element representing generic document or application section.

Select

Gets select element representing list box control.

Small

Gets small element representing side comment.

Source

Gets source element representing media source for video or audio or as image source for picture.

Span

Gets span element representing generic phrasing container.

Strong

Gets strong element representing importance.

Style

Gets style element representing embedded styling information.

Sub

Gets sub element representing subscript.

Summary

Gets summary element representing caption for details.

Sup

Gets sup element representing superscript.

Table

Gets table element representing table.

Tbody

Gets tbody element representing group of rows in a table.

Td

Gets td element representing table cell.

Template

Gets template element representing template.

Textarea

Gets textarea element representing multiline text field.

Tfoot

Gets tfoot element representing group of footer rows in a table.

Th

Gets th element representing table header cell.

Thead

Gets thead element representing group of heading rows in a table.

Time

Gets time element representing machine-readable equivalent of date- or time-related data.

Title

Gets title element representing document title.

Tr

Gets tr element representing table row.

Track

Gets track element representing timed text track.

U

Gets u element representing keywords.

Ul

Gets ul element representing list.

Var

Gets var element representing variable.

Video

Gets video element representing video player.

Wbr

Gets wbr element representing line breaking opportunity.

Entity

Gets an Entity object.

Methods

Tag(string)

Gets a new element that has the specified name.

EmptyTag(string)

Gets a new void element that has the specified name.

Text(string)

Gets a new text node containing the specified text.

CharacterReference(int)

Gets a hexadecimal numeric character reference.

Properties Detail

A

Gets a element representing hyperlink.

C#
Tag A { get; }

Property Value

Tag

Abbr

Gets abbr element representing abbreviation.

C#
Tag Abbr { get; }

Property Value

Tag

Address

Gets address element representing contact information.

C#
Tag Address { get; }

Property Value

Tag

Area

Gets area element representing hyperlink or dead area on an image map.

C#
EmptyTag Area { get; }

Property Value

Article

Gets article element representing self-contained syndicatable or reusable composition.

C#
Tag Article { get; }

Property Value

Tag

Aside

Gets aside element representing sidebar for tangentially related content.

C#
Tag Aside { get; }

Property Value

Tag

Audio

Gets audio element representing audio player.

C#
Tag Audio { get; }

Property Value

Tag

B

Gets b element representing keywords.

C#
Tag B { get; }

Property Value

Tag

Base

Gets base element representing base URL and default target browsing context for hyperlinks and forms.

C#
EmptyTag Base { get; }

Property Value

Bdi

Gets bdi element representing text directionality isolation.

C#
Tag Bdi { get; }

Property Value

Tag

Bdo

Gets bdo element representing text directionality formatting.

C#
Tag Bdo { get; }

Property Value

Tag

Blockquote

Gets blockquote element representing a section quoted from another source.

C#
Tag Blockquote { get; }

Property Value

Tag

Body

Gets body element representing document body.

C#
Tag Body { get; }

Property Value

Tag

Br

Gets br element representing line break, e.g., in poem or postal address.

C#
EmptyTag Br { get; }

Property Value

Button

Gets button element representing button control.

C#
Tag Button { get; }

Property Value

Tag

Canvas

Gets canvas element representing scriptable bitmap canvas.

C#
Tag Canvas { get; }

Property Value

Tag

Caption

Gets caption element representing table caption.

C#
Tag Caption { get; }

Property Value

Tag

Cite

Gets cite element representing title of a work.

C#
Tag Cite { get; }

Property Value

Tag

Code

Gets code element representing computer code.

C#
Tag Code { get; }

Property Value

Tag

Col

Gets col element representing table column.

C#
EmptyTag Col { get; }

Property Value

Colgroup

Gets colgroup element representing group of columns in a table.

C#
Tag Colgroup { get; }

Property Value

Tag

Data

Gets data element representing machine-readable equivalent.

C#
Tag Data { get; }

Property Value

Tag

Datalist

Gets datalist element representing container for options for combo box control.

C#
Tag Datalist { get; }

Property Value

Tag

Dd

Gets dd element representing content for corresponding dt element(s).

C#
Tag Dd { get; }

Property Value

Tag

Del

Gets del element representing a removal from the document.

C#
Tag Del { get; }

Property Value

Tag

Details

Gets details element representing disclosure control for hiding details.

C#
Tag Details { get; }

Property Value

Tag

Dfn

Gets dfn element representing defining instance.

C#
Tag Dfn { get; }

Property Value

Tag

Dialog

Gets dialog element representing dialog box or window.

C#
Tag Dialog { get; }

Property Value

Tag

Div

Gets div element representing generic flow container.

C#
Tag Div { get; }

Property Value

Tag

Dl

Gets dl element representing association list consisting of zero or more name-value groups.

C#
Tag Dl { get; }

Property Value

Tag

Dt

Gets dt element representing legend for corresponding dd element(s).

C#
Tag Dt { get; }

Property Value

Tag

Em

Gets em element representing stress emphasis.

C#
Tag Em { get; }

Property Value

Tag

Embed

Gets embed element representing plugin.

C#
EmptyTag Embed { get; }

Property Value

Fieldset

Gets fieldset element representing group of form controls.

C#
Tag Fieldset { get; }

Property Value

Tag

Figcaption

Gets figcaption element representing caption for figure.

C#
Tag Figcaption { get; }

Property Value

Tag

Figure

Gets figure element representing figure with optional caption.

C#
Tag Figure { get; }

Property Value

Tag

Footer

Gets footer element representing footer for a page or section.

C#
Tag Footer { get; }

Property Value

Tag

Form

Gets form element representing user-submittable form.

C#
Tag Form { get; }

Property Value

Tag

H1

Gets h1 element representing section heading.

C#
Tag H1 { get; }

Property Value

Tag

H2

Gets h2 element representing section heading.

C#
Tag H2 { get; }

Property Value

Tag

H3

Gets h3 element representing section heading.

C#
Tag H3 { get; }

Property Value

Tag

H4

Gets h4 element representing section heading.

C#
Tag H4 { get; }

Property Value

Tag

H5

Gets h5 element representing section heading.

C#
Tag H5 { get; }

Property Value

Tag

H6

Gets h6 element representing section heading.

C#
Tag H6 { get; }

Property Value

Tag

Head

Gets head element representing container for document metadata.

C#
Tag Head { get; }

Property Value

Tag

Header

Gets header element representing introductory or navigational aids for a page or section.

C#
Tag Header { get; }

Property Value

Tag

Hr

Gets hr element representing thematic break.

C#
EmptyTag Hr { get; }

Property Value

Html

Gets html element representing root element.

C#
Tag Html { get; }

Property Value

Tag

I

Gets i element representing alternate voice.

C#
Tag I { get; }

Property Value

Tag

Iframe

Gets iframe element representing nested browsing context.

C#
Tag Iframe { get; }

Property Value

Tag

Img

Gets img element representing image.

C#
EmptyTag Img { get; }

Property Value

Input

Gets input element representing form control.

C#
EmptyTag Input { get; }

Property Value

Ins

Gets ins element representing an addition to the document.

C#
Tag Ins { get; }

Property Value

Tag

Kbd

Gets kbd element representing user input.

C#
Tag Kbd { get; }

Property Value

Tag

Label

Gets label element representing caption for a form control.

C#
Tag Label { get; }

Property Value

Tag

Legend

Gets legend element representing caption for fieldset.

C#
Tag Legend { get; }

Property Value

Tag

Li

Gets li element representing list item.

C#
Tag Li { get; }

Property Value

Tag

Gets link element representing link metadata.

C#
EmptyTag Link { get; }

Property Value

Main

Gets main element representing main content of a document.

C#
Tag Main { get; }

Property Value

Tag

Map

Gets map element representing image map.

C#
Tag Map { get; }

Property Value

Tag

Mark

Gets mark element representing highlight.

C#
Tag Mark { get; }

Property Value

Tag

Meta

Gets meta element representing text metadata.

C#
EmptyTag Meta { get; }

Property Value

Meter

Gets meter element representing gauge.

C#
Tag Meter { get; }

Property Value

Tag

Nav

Gets nav element representing section with navigational links.

C#
Tag Nav { get; }

Property Value

Tag

Noscript

Gets noscript element representing fallback content for script.

C#
Tag Noscript { get; }

Property Value

Tag

Object

Gets object element representing image, nested browsing context, or plugin.

C#
Tag Object { get; }

Property Value

Tag

Ol

Gets ol element representing ordered list.

C#
Tag Ol { get; }

Property Value

Tag

Optgroup

Gets optgroup element representing group of options in a list box.

C#
Tag Optgroup { get; }

Property Value

Tag

Option

Gets option element representing option in a list box or combo box control.

C#
Tag Option { get; }

Property Value

Tag

Output

Gets output element representing calculated output value.

C#
Tag Output { get; }

Property Value

Tag

P

Gets p element representing paragraph.

C#
Tag P { get; }

Property Value

Tag

Param

Gets param element representing parameter for object.

C#
EmptyTag Param { get; }

Property Value

Picture

Gets picture element representing image.

C#
Tag Picture { get; }

Property Value

Tag

Pre

Gets pre element representing block of preformatted text.

C#
Tag Pre { get; }

Property Value

Tag

Progress

Gets progress element representing progress bar.

C#
Tag Progress { get; }

Property Value

Tag

Q

Gets q element representing quotation.

C#
Tag Q { get; }

Property Value

Tag

Rb

Gets rb element representing ruby base.

C#
Tag Rb { get; }

Property Value

Tag

Rp

Gets rp element representing parenthesis for ruby annotation text.

C#
Tag Rp { get; }

Property Value

Tag

Rt

Gets rt element representing ruby annotation text.

C#
Tag Rt { get; }

Property Value

Tag

Rtc

Gets rtc element representing ruby annotation text container.

C#
Tag Rtc { get; }

Property Value

Tag

Ruby

Gets ruby element representing ruby annotation(s).

C#
Tag Ruby { get; }

Property Value

Tag

S

Gets s element representing inaccurate text.

C#
Tag S { get; }

Property Value

Tag

Samp

Gets samp element representing computer output.

C#
Tag Samp { get; }

Property Value

Tag

Script

Gets script element representing embedded script.

C#
Tag Script { get; }

Property Value

Tag

Section

Gets section element representing generic document or application section.

C#
Tag Section { get; }

Property Value

Tag

Select

Gets select element representing list box control.

C#
Tag Select { get; }

Property Value

Tag

Small

Gets small element representing side comment.

C#
Tag Small { get; }

Property Value

Tag

Source

Gets source element representing media source for video or audio or as image source for picture.

C#
EmptyTag Source { get; }

Property Value

Span

Gets span element representing generic phrasing container.

C#
Tag Span { get; }

Property Value

Tag

Strong

Gets strong element representing importance.

C#
Tag Strong { get; }

Property Value

Tag

Style

Gets style element representing embedded styling information.

C#
Tag Style { get; }

Property Value

Tag

Sub

Gets sub element representing subscript.

C#
Tag Sub { get; }

Property Value

Tag

Summary

Gets summary element representing caption for details.

C#
Tag Summary { get; }

Property Value

Tag

Sup

Gets sup element representing superscript.

C#
Tag Sup { get; }

Property Value

Tag

Table

Gets table element representing table.

C#
Tag Table { get; }

Property Value

Tag

Tbody

Gets tbody element representing group of rows in a table.

C#
Tag Tbody { get; }

Property Value

Tag

Td

Gets td element representing table cell.

C#
Tag Td { get; }

Property Value

Tag

Template

Gets template element representing template.

C#
Tag Template { get; }

Property Value

Tag

Textarea

Gets textarea element representing multiline text field.

C#
Tag Textarea { get; }

Property Value

Tag

Tfoot

Gets tfoot element representing group of footer rows in a table.

C#
Tag Tfoot { get; }

Property Value

Tag

Th

Gets th element representing table header cell.

C#
Tag Th { get; }

Property Value

Tag

Thead

Gets thead element representing group of heading rows in a table.

C#
Tag Thead { get; }

Property Value

Tag

Time

Gets time element representing machine-readable equivalent of date- or time-related data.

C#
Tag Time { get; }

Property Value

Tag

Title

Gets title element representing document title.

C#
Tag Title { get; }

Property Value

Tag

Tr

Gets tr element representing table row.

C#
Tag Tr { get; }

Property Value

Tag

Track

Gets track element representing timed text track.

C#
EmptyTag Track { get; }

Property Value

U

Gets u element representing keywords.

C#
Tag U { get; }

Property Value

Tag

Ul

Gets ul element representing list.

C#
Tag Ul { get; }

Property Value

Tag

Var

Gets var element representing variable.

C#
Tag Var { get; }

Property Value

Tag

Video

Gets video element representing video player.

C#
Tag Video { get; }

Property Value

Tag

Wbr

Gets wbr element representing line breaking opportunity.

C#
EmptyTag Wbr { get; }

Property Value

Entity

Gets an Entity object.

C#
Entity Entity { get; }

Property Value

Methods Detail

Tag(string)

Gets a new element that has the specified name.

C#
Tag Tag(string name)

Parameters

name
string

The name of the element.

Returns

Tag

The new element.

EmptyTag(string)

Gets a new void element that has the specified name.

C#
EmptyTag EmptyTag(string name)

Parameters

name
string

The name of the element.

Returns

The new element.

Text(string)

Gets a new text node containing the specified text.

C#
Node Text(string text)

Parameters

text
string

The text to be contained in the node.

Returns

The new text node.

CharacterReference(int)

Gets a hexadecimal numeric character reference.

C#
Node CharacterReference(int codePoint)

Parameters

codePoint
int

Unicode code point.

Returns

The node corresponding to the character reference in the form "&#x", that is followed by one or more ASCII hex digits representing the specified code point, that is followed by ";".