HTML lb = new HTML();
lb.setHTML("Hi <BR> Thanks&Regards");
i know lb.setStyleName("style");
Now this “style” will appear for the entire lb component.
For some specific reason i need Hi to have a different style and Thanks & Regards to hav a different style.
I know that we have can two different labels and set two different text and styles But its creating problem to the logic .
Not sure whether this possible
I think this should make it: