Chosing the container for a form I am currently programmatically constructing a form. For that, I used the hook_form() . My form is displayed and all its functionality are good.

The problem is that it is not displayed inside the div container as it normally should be. Anyone knows how to define, maybe as an attribute, the form in this tag?
in hook_form:

$form['first_element'] = array(
  '#prefix' =&gt; '&lt;div class="wrapper&gt;',
  '#title' =&gt; t('First name'),
  '#type' =&gt; 'textfield',
  '#default_value' =&gt; '0',
  '#required' =&gt; TRUE,
);
$form['last_element'] = array(
  '#suffix' =&gt; '&lt;/div&gt;',
  '#title' =&gt; t('First name'),
  '#type' =&gt; 'textfield',
  '#default_value' =&gt; '0',
  '#required' =&gt; TRUE,
);
return $form