Namespace ToSic.Razor.Markup
This namespace is responsible for the internals of tag generation.
It's called Markup
because it's not just for HTML5, but will also be used by Svg2 etc.
You usually won't need to program with this directly.
Classes
Attribute
AttributeOptions
Configure how attributes will be serialized. It's a read-only object to ensure fluid APIs. Properties cannot be modified. To modify a property, create a new one to clone the settings of the previous.
Attributes
Tag<T>
Helper commands to enable fluid coding with Tag Attributes and Common Helpers like Add and Wrap. This allows you to do things like
Div().Id("myId").Class("row4").Class("xs")
TagBase
A generic tag object - used to create any kind of tag
TagChildren
TagCustom
Basis for either tags where the tag-name is given as parameter, or special tags like comments.
TagList
An empty tag just containing more tags - like a TagCustom but explicitly meant to not be a tag itself
TagOptions
Options which determine how the tag is to be generated / rendered.
TagText
Interfaces
ITag
Standardizes what Tag-objects can do - valid for all Html and Svg tags.