Back to API Reference
Class

InlineTagRule

sealed

TagRule with HTML void-element semantics: every <tag> or <tag=value> behaves as a single self-closing placeholder, the /> shorthand is no longer required, and any stray </tag> is silently stripped.

Remarks

Use for inline-media tags (obj, sprite) where range semantics don't apply — the tag is always a single inline insertion, not a wrapper around following text.
protected bool IsVoid{ get }
[ctor]public InlineTagRule()
[ctor]public InlineTagRule()