+ 7

How can i write the alert message in JS in bold or italic or underlined ?

I want the alert message to be appeared in bold. How can I do that.??

9th Jun 2019, 1:55 AM
Ashish
Ashish - avatar
1 Respuesta
+ 3
You can't, build in alert does not show styled text. Build your own custom modal dialog.
9th Jun 2019, 2:24 AM
Calviղ
Calviղ - avatar