Insert image tag in checkboxes list A Form having a form element of term reference with checkboxes widget. I want to insert a image tag with each taxonomy term name,

For example here is the html of taxonomy term reference

&lt; div class="form-item form-type-checkbox
form-item-field-user-interest-und-24">
  &lt; input type="checkbox" id="edit-field-user-interest-und-24"
name="field_user_interest[und][24]" value="24" checked="checked"
class="form-checkbox ajax-processed">
  &lt; label class="option
like-taxonomy-term" for="edit-field-user-interest-und-24">-uejo
&lt; /label>
&lt; /div>


so how can i insert image tag inside div tag so that its html become this 

&lt; div class="form-item form-type-checkbox
form-item-field-user-interest-und-24">
  &lt; input type="checkbox" id="edit-field-user-interest-und-24"
name="field_user_interest[und][24]" value="24" checked="checked"
class="form-checkbox ajax-processed">
  &lt; label class="option
like-taxonomy-term" for="edit-field-user-interest-und-24">-uejo
&lt; /label>
&lt; img src="image=path" alt="image-text">
&lt; /div>
You should be able to add a prefix or suffix with the field. See Field Suffix in the Form API, So your code might be:

$form['copy'] = array(
'#type' =&gt;'checkbox', 
'#title' =&gt; t('my taxonomy term.'),
'#field_suffix' =&gt; '&lt;img src="myimg.png" /&gt;',
);


You can use field_prefix if you want it to come before.