• 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

    Class Meta

    Generate a standard HTML5 <meta> tag

    Inheritance
    System.Object
    ToSic.Razor.Markup.RawHtmlString
    TagBase
    Tag<Meta>
    Meta
    MetaOg
    Implements
    System.Web.IHtmlString
    IHtmlTag
    ITag
    System.Collections.Generic.IEnumerable<ITag>
    System.Collections.IEnumerable
    Inherited Members
    Tag<Meta>.Attr(String, Object, String)
    Tag<Meta>.Attr(Object)
    Tag<Meta>.Id(String)
    Tag<Meta>.Class(String)
    Tag<Meta>.Style(String)
    Tag<Meta>.Title(String)
    Tag<Meta>.Data(String, Object)
    Tag<Meta>.On(String, Object)
    Tag<Meta>.Add(Object[])
    Tag<Meta>.Wrap(Object[])
    Tag<Meta>.AsHtmlTag()
    TagBase.IsImmutable
    TagBase.PreProcessNewChild(Object)
    TagBase.ApplyChanges(CloneChanges)
    TagBase.TagName
    TagBase.TagOptions
    TagBase.ToString()
    TagBase.TagAttributes
    TagBase.TagChildren
    TagBase.TagStart
    TagBase.TagEnd
    Namespace: ToSic.Razor.Html5
    Assembly: ToSic.Razor.dll
    Syntax
    public class Meta : Tag<Meta>, IRawHtmlString, IHtmlString, IHtmlTag, ITag, IEnumerable<ITag>, IEnumerable

    Constructors

    | Improve this Doc View Source

    Meta(MetaOg, CloneChanges)

    Very special internal overload to allow MetaOg to replicate

    Declaration
    protected Meta(MetaOg original, CloneChanges changes)
    Parameters
    Type Name Description
    MetaOg original
    ToSic.Razor.Markup.CloneChanges changes

    Methods

    | Improve this Doc View Source

    Charset(String)

    Set the charset attribute on the <meta> tag

    Declaration
    public Meta Charset(string value)
    Parameters
    Type Name Description
    System.String value

    what should be in charset='...'. If called multiple times, later values replace the previous value.

    Returns
    Type Description
    Meta

    a Meta object to enable fluid command chaining

    | Improve this Doc View Source

    Content(String)

    Set the content attribute on the <meta> tag

    Declaration
    public Meta Content(string value)
    Parameters
    Type Name Description
    System.String value

    what should be in content='...'. If called multiple times, later values replace the previous value.

    Returns
    Type Description
    Meta

    a Meta object to enable fluid command chaining

    | Improve this Doc View Source

    HttpEquiv(String)

    Set the http-equiv attribute on the <meta> tag

    Declaration
    public Meta HttpEquiv(string value)
    Parameters
    Type Name Description
    System.String value

    what should be in http-equiv='...'. If called multiple times, later values replace the previous value.

    Returns
    Type Description
    Meta

    a Meta object to enable fluid command chaining

    | Improve this Doc View Source

    Name(String)

    Set the name attribute on the <meta> tag

    Declaration
    public Meta Name(string value)
    Parameters
    Type Name Description
    System.String value

    what should be in name='...'. If called multiple times, later values replace the previous value.

    Returns
    Type Description
    Meta

    a Meta object to enable fluid command chaining

    Implements

    System.Web.IHtmlString
    IHtmlTag
    ITag
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX