Sitecore 5.1.1 API

MainUtil.Html Method 

Writes a line of HTML to the Response output stream.

[Visual Basic]
Public Shared Sub Html( _
   ByVal sHtml As String _
)
[C#]
public static void Html(
   string sHtml
);

Parameters

sHtml
An HTML string.

Remarks

The string is outputted to the Response followed by a trailing <br> tag. The stream is flushed afterwards.

Example

  MainUtil.Html("Hello world");

See Also

MainUtil Class | Sitecore Namespace | Out