HtmlForgeX

API Reference

Class

HeaderLevelTagExtensions

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers static

Extension methods for the HeaderLevelTag enum.

Inheritance

  • Object
  • HeaderLevelTagExtensions

Methods

public static String EnumToString(HeaderLevelTag tag) #
Returns: String

Converts the heading level to the lowercase HTML tag name.

Parameters

tag HtmlForgeX.HeaderLevelTag requiredposition: 0
Heading level value.

Returns

String such as h1 or h2.