Label
You can use the label
option to specify the content of the label. To set the content, you can use encoded text.
Set the Label Text
To customize the text of the label, use the label
option.
<input id="checkbox" />
<script>
$("#checkbox").kendoCheckBox({
label: "CheckBox Label"
});
</script>
Encoded Label
The label of the CheckBox can be either an encoded text or HTML string. By default, the label
is encoded.
The example below demonstrates how an HTML string can be rendered as a CheckBox label.
<input id="checkbox" />
<script>
$("#checkbox").kendoCheckBox({
label: "<strong>Label one</strong>",
encoded: false
});
</script>