# Use html in checkbox.label?

**URL:** <https://forum.kirupa.com/t/use-html-in-checkbox-label/234553>\
**Category:** Uncategorized\
**Created:** [August 3, 2007, 9:42am UTC](https://forum.kirupa.com/t/use-html-in-checkbox-label/234553 "2007-08-03T09:42:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerryj](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jerryj](https://forum.kirupa.com/u/jerryj)\
**Post date:** [August 3, 2007, 9:42am UTC](https://forum.kirupa.com/t/use-html-in-checkbox-label/234553/1 "2007-08-03T09:42:26Z")

</div>

Hi,

is there a way, if I want to set a label for a checkBox dynamically, to use html tags? Like:

```auto
 
myCheckBox.label= sNode1+"<tab><tab>"+sNode2;

```

would show the two strings with in between them two tabs?

By the way, my checkboxes are dynamically created as well.

Thanks!

Jerryj.
