We use the $$.HTML function to do this. The other $$ functions are:
$$.display(value)
$$.clear()
$$.D2('eval-string') eval-string is a javascript expression in string from, the eval string and its value is displayed. This is useful for displaying variables name and value.
$$.HTML(somehtmlstring) - render html in the display area
$$.lastly( some-function ) - this will be executed after all the display rendering is completed