Navigation: CodeStencil > Custom Library > Class Library > Expansion Namespace > Extensions Class > Extensions Methods > HtmlTag Method > Extensions.HtmlTag Method (String, String, String, String, Int32) |
Creates an html tag using the passed tag.
Namespace: ZeraSystems.CodeNanite.Expansion
Assembly: ZeraSystems.CodeNanite.Expansion (in ZeraSystems.CodeNanite.Expansion.dll)
public static string HtmlTag(
string str,
string tag,
string attribute,
string value,
int indent
)
str
Type: String
The string to be tagged.
tag
Type: String
The passed tag.
attribute
Type: String
The attribute to added to the tag.
value
Type: String
The value to assign to the attribute.
indent
Type: Int32
The indentation. Default is 0.
Returned tagged string.
ZeraSystems.CodeNanite.Expansion Namespace