Class Output
Generate a standard HTML5 <output> tag
Implements
System.Web.IHtmlString
System.Collections.Generic.IEnumerable<ITag>
System.Collections.IEnumerable
Inherited Members
Namespace: ToSic.Razor.Html5
Assembly: ToSic.Razor.dll
Syntax
public class Output : Tag<Output>, IRawHtmlString, IHtmlString, IHtmlTag, ITag, IEnumerable<ITag>, IEnumerable
Methods
| Improve this Doc View SourceFor(String)
Set the for attribute on the <output> tag
Declaration
public Output For(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in for='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Output | a Output object to enable fluid command chaining |
Form(String)
Set the form attribute on the <output> tag
Declaration
public Output Form(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in form='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Output | a Output object to enable fluid command chaining |
Name(String)
Set the name attribute on the <output> tag
Declaration
public Output 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 |
---|---|
Output | a Output object to enable fluid command chaining |
Implements
System.Web.IHtmlString
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable