I have to show the message on alert box with font size - 6. I have done like below.
var str = "Formatting some text.";
str = str.fontsize("6").fontcolor("#006400").bold();
alert(str);
But the output get as
<b><font color="#006400"><font size="6">Formatting some text.</font></font></b>
Please help to correct the issue