• Home
  • Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • ToSic.Razor.Blade
      • IHtmlTag
      • IHtmlTagsService
      • IScrub
      • Tag
      • Tags
      • Text
    • ToSic.Razor.Html5
      • A
      • Abbr
      • Address
      • Area
      • Article
      • Aside
      • Audio
      • B
      • Base
      • Bdi
      • Bdo
      • Blockquote
      • Br
      • Button
      • Canvas
      • Caption
      • Cite
      • Code
      • Col
      • Colgroup
      • Comment
      • Data
      • Datalist
      • Dd
      • Del
      • Details
      • Dfn
      • Dialog
      • Div
      • Dl
      • Dt
      • Em
      • Embed
      • Fieldset
      • Figcaption
      • Figure
      • Footer
      • Form
      • H1
      • H2
      • H3
      • H4
      • H5
      • H6
      • Head
      • Header
      • Hr
      • I
      • Icon
      • Iframe
      • Img
      • Input
      • Ins
      • Kbd
      • Label
      • Legend
      • Li
      • Link
      • Main
      • Map
      • Mark
      • Meta
      • MetaOg
      • Meter
      • Nav
      • Noscript
      • Object
      • Ol
      • Optgroup
      • Option
      • Output
      • P
      • Param
      • Picture
      • Pre
      • Progress
      • Q
      • Rp
      • Rt
      • Ruby
      • S
      • Samp
      • Script
      • ScriptJsonLd
      • Section
      • Select
      • Small
      • Source
      • Span
      • Strong
      • Style
      • Sub
      • Summary
      • Sup
      • Svg
      • Table
      • Tbody
      • Td
      • Template
      • Textarea
      • Tfoot
      • Th
      • Thead
      • Time
      • Tr
      • Track
      • U
      • Ul
      • Var
      • Video
      • Wbr
    • ToSic.Razor.Markup
      • Attribute
      • AttributeOptions
      • Attributes
      • ITag
      • Tag<T>
      • TagBase
      • TagChildren
      • TagCustom
      • TagList
      • TagOptions
      • TagText
    • ToSic.Razor.StartUp
      • StartUp

    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.

    • Improve this Doc
    In This Article
    Back to top Generated by DocFX