There is a `containerTemplate` property that you will want to use.

http://yuilibrary.com/yui/docs/api/classes/View.html#property_containerTemplate