+ 2
Hello,
Sorry, you can not insert any HTML code into a JavaScript alert box. If you write HTML code inside an alert than it will be displayed as a simple text. An alternate solution for your requirement could be a jQuery Dialog box. The following is the reference link for the same.
https://jqueryui.com/dialog/