[jQuery] Using append() - each element or string of HTML?

[jQuery] Using append() - each element or string of HTML?


Just wondering from an efficiency standpoint:
I am building a widget out of javascript and so there is a lot of
HTML. Am I better off creating it as a string, then append() it into
the document, or should I build the widget itself using append() and
other related helper functions?