How to include html tag inside rails label tag

Hello pls help me,
                    below is my code

<label
style="width:175px;text_align:left;float:left;font-weight:bold;font-size:13px;">Group
<font size="1" color="red">*</font></label>

How to write this html code inside label_tag of rails ???
am clear till <font size="1" color="red">*</font>…

label_tag
'Group',nil,:style=>'width:175px;text_align:left;float:left;font-weight:bold;font-size:13px;'

My problem is how to include <font size="1" color="red">*</font> into
this label_tag

Thanks in advance,
Manoj

I think it’s always better if you give it a class name then styling it in CSS file. Never do inline styling :slight_smile:

I second that, depending on the HTML version you are using font and similar are deprecated and shouldn’t (mustn’t?) be used any more.