I wanted to know if it\'s possible to add HTML tags to JavaScript alert() method, such as:
alert()
et
You can add HTML into an alert string, but it will not render as HTML. It will just be displayed as a plain string. Simple answer: no.