How to add custom html inside form
You're looking at Drupal 7 form api reference perhaps. For drupal 6 according to the form api you just need to put your HTML string in #value as the default D6 #type is markup