HtmlForgeX

API Reference

Enum

TagMode

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Defines how an HTML tag should be rendered.

Inheritance

  • Enum
  • TagMode

Values

public const TagMode Normal #

Tag with a separate opening and closing element, for example <div>.

Value: 0
public const TagMode NoClosing #

Tag that does not include a closing element, such as <br>.

Value: 1
public const TagMode SelfClosing #

Tag that self-closes within a single element, for example <img />.

Value: 2