title: zend form adding a class to a Htmltag
body: <p>How can I go about adding a class to Html tag, I tried all different kinds of decorators methods but still can't come to a solution, here my preview html code Im trying to add a class to the li tag</p>
  
  <pre><code>&lt;div class="col-md-12 field-box"&gt;
  &lt;dt id="firstname-label"&gt;
  &lt;dd id="firstname-element"&gt;
  &lt;input id="firstname" type="text" 1="Htmltag Array" 0="col-md-9 form-control" value="" name="firstname"&gt;
  &lt;ul class="errors"&gt;
  &lt;li&gt;Value is required and can't be empty&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/dd&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>solutions tried</p>
  
  <pre><code>-&gt;addDecorator(array('row' =&gt; 'HtmlTag'), array('tag' =&gt; 'div','class' =&gt; 'col-md-12 field-box'), array('HtmlTag',array('tag' =&gt; 'li', 'class' =&gt;'kopano')))
  
  $firstName-&gt;setAttribs(array('class' =&gt; 'col-md-9 form-control',array('Htmltag', array('tag' =&gt; 'dd', 'class' =&gt;'kopano'))));
  
  $firstName-&gt;setAttribs(array('class' =&gt; 'col-md-9 form-control'),array('Htmltag', array('tag' =&gt; 'dd', 'class' =&gt;'kopano')));
  </code></pre>
  
  <p>THANKS IN ADVANCE</p>