# HtmlLogicalNodeKind

Normalized logical HTML node categories used by OfficeIMO conversion tooling.

Enum 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlLogicalNodeKind.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L6)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Normalized logical HTML node categories used by OfficeIMO conversion tooling.

## Inheritance

- Enum
- HtmlLogicalNodeKind

## Usage

Explore 26 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 25

- Method [HtmlLogicalDocument.GetCounts](/api/html/officeimo-html-htmllogicaldocument/#method-getcounts)
- Property [HtmlLogicalNode.Kind](/api/html/officeimo-html-htmllogicalnode/#property-kind)
- Field [HtmlLogicalNodeKind.Code](/api/html/officeimo-html-htmllogicalnodekind/#field-code)
- Field [HtmlLogicalNodeKind.Document](/api/html/officeimo-html-htmllogicalnodekind/#field-document)
- Field [HtmlLogicalNodeKind.Figure](/api/html/officeimo-html-htmllogicalnodekind/#field-figure)
- Field [HtmlLogicalNodeKind.Footnote](/api/html/officeimo-html-htmllogicalnodekind/#field-footnote)
- Field [HtmlLogicalNodeKind.Form](/api/html/officeimo-html-htmllogicalnodekind/#field-form)
- Field [HtmlLogicalNodeKind.FormControl](/api/html/officeimo-html-htmllogicalnodekind/#field-formcontrol)
- Field [HtmlLogicalNodeKind.Heading](/api/html/officeimo-html-htmllogicalnodekind/#field-heading)
- Field [HtmlLogicalNodeKind.Image](/api/html/officeimo-html-htmllogicalnodekind/#field-image)
- Field [HtmlLogicalNodeKind.Inline](/api/html/officeimo-html-htmllogicalnodekind/#field-inline)
- Field [HtmlLogicalNodeKind.Link](/api/html/officeimo-html-htmllogicalnodekind/#field-link)
- Field [HtmlLogicalNodeKind.List](/api/html/officeimo-html-htmllogicalnodekind/#field-list)
- Field [HtmlLogicalNodeKind.ListItem](/api/html/officeimo-html-htmllogicalnodekind/#field-listitem)
- Field [HtmlLogicalNodeKind.Media](/api/html/officeimo-html-htmllogicalnodekind/#field-media)
- Field [HtmlLogicalNodeKind.Metadata](/api/html/officeimo-html-htmllogicalnodekind/#field-metadata)
- Field [HtmlLogicalNodeKind.Paragraph](/api/html/officeimo-html-htmllogicalnodekind/#field-paragraph)
- Field [HtmlLogicalNodeKind.Quote](/api/html/officeimo-html-htmllogicalnodekind/#field-quote)
- Field [HtmlLogicalNodeKind.Section](/api/html/officeimo-html-htmllogicalnodekind/#field-section)
- Field [HtmlLogicalNodeKind.Table](/api/html/officeimo-html-htmllogicalnodekind/#field-table)
- Field [HtmlLogicalNodeKind.TableCaption](/api/html/officeimo-html-htmllogicalnodekind/#field-tablecaption)
- Field [HtmlLogicalNodeKind.TableCell](/api/html/officeimo-html-htmllogicalnodekind/#field-tablecell)
- Field [HtmlLogicalNodeKind.TableRow](/api/html/officeimo-html-htmllogicalnodekind/#field-tablerow)
- Field [HtmlLogicalNodeKind.Text](/api/html/officeimo-html-htmllogicalnodekind/#field-text)
- Field [HtmlLogicalNodeKind.Unknown](/api/html/officeimo-html-htmllogicalnodekind/#field-unknown)

### Accepted by parameters 1

- Method [HtmlLogicalDocument.Count](/api/html/officeimo-html-htmllogicaldocument/#method-count-officeimo-html-htmllogicalnodekind) parameter `kind`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const HtmlLogicalNodeKind Document` [#](#field-document)

[HtmlLogicalNodeKind.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L8)

Root document node.

Value: `0`

`public const HtmlLogicalNodeKind Section` [#](#field-section)

[HtmlLogicalNodeKind.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L10)

Sectioning or body-level container.

Value: `1`

`public const HtmlLogicalNodeKind Heading` [#](#field-heading)

[HtmlLogicalNodeKind.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L12)

Heading element.

Value: `2`

`public const HtmlLogicalNodeKind Paragraph` [#](#field-paragraph)

[HtmlLogicalNodeKind.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L14)

Paragraph-like block.

Value: `3`

`public const HtmlLogicalNodeKind List` [#](#field-list)

[HtmlLogicalNodeKind.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L16)

Ordered or unordered list.

Value: `4`

`public const HtmlLogicalNodeKind ListItem` [#](#field-listitem)

[HtmlLogicalNodeKind.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L18)

List item.

Value: `5`

`public const HtmlLogicalNodeKind Table` [#](#field-table)

[HtmlLogicalNodeKind.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L20)

Table element.

Value: `6`

`public const HtmlLogicalNodeKind TableRow` [#](#field-tablerow)

[HtmlLogicalNodeKind.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L22)

Table row.

Value: `7`

`public const HtmlLogicalNodeKind TableCell` [#](#field-tablecell)

[HtmlLogicalNodeKind.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L24)

Table header or data cell.

Value: `8`

`public const HtmlLogicalNodeKind Figure` [#](#field-figure)

[HtmlLogicalNodeKind.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L26)

Figure element.

Value: `9`

`public const HtmlLogicalNodeKind Image` [#](#field-image)

[HtmlLogicalNodeKind.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L28)

Image, picture, or inline SVG.

Value: `10`

`public const HtmlLogicalNodeKind Media` [#](#field-media)

[HtmlLogicalNodeKind.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L30)

Audio, video, source, or track media element.

Value: `11`

`public const HtmlLogicalNodeKind Link` [#](#field-link)

[HtmlLogicalNodeKind.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L32)

Hyperlink element.

Value: `12`

`public const HtmlLogicalNodeKind Form` [#](#field-form)

[HtmlLogicalNodeKind.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L34)

Form container.

Value: `13`

`public const HtmlLogicalNodeKind FormControl` [#](#field-formcontrol)

[HtmlLogicalNodeKind.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L36)

Input, select, textarea, button, or option control.

Value: `14`

`public const HtmlLogicalNodeKind Text` [#](#field-text)

[HtmlLogicalNodeKind.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L38)

Text node or text-like leaf element.

Value: `15`

`public const HtmlLogicalNodeKind Inline` [#](#field-inline)

[HtmlLogicalNodeKind.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L40)

Inline semantic or formatting element.

Value: `16`

`public const HtmlLogicalNodeKind Metadata` [#](#field-metadata)

[HtmlLogicalNodeKind.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L42)

Document metadata element.

Value: `17`

`public const HtmlLogicalNodeKind Unknown` [#](#field-unknown)

[HtmlLogicalNodeKind.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L44)

Node that does not map to a known logical kind.

Value: `18`

`public const HtmlLogicalNodeKind TableCaption` [#](#field-tablecaption)

[HtmlLogicalNodeKind.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L46)

Table caption.

Value: `19`

`public const HtmlLogicalNodeKind Code` [#](#field-code)

[HtmlLogicalNodeKind.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L48)

Preformatted or source-code block.

Value: `20`

`public const HtmlLogicalNodeKind Quote` [#](#field-quote)

[HtmlLogicalNodeKind.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L50)

Quoted block content.

Value: `21`

`public const HtmlLogicalNodeKind Footnote` [#](#field-footnote)

[HtmlLogicalNodeKind.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Model/HtmlLogicalNodeKind.cs#L52)

EPUB, DPUB-ARIA, or compatible footnote definition.

Value: `22`

<!-- PowerForge markdown artifact sha256:5A4DF0D706F95BC634FE041AC157976C2672FB934ECF8F85F12013ECCA075A43 -->
