in javascript how to make warning bold n use h1-h5 headers? Is this possible or just one warning?
how to include bold and h1 in this warning?
function onlooad() { alert("wssup??"); }
You cannot use HTML in alert (). To do this, you need to use window.open () or some custom code, for example:http://docs.jquery.com/UI/Dialog
As far as I know, this is not possible.
You can use custom elements that act as alerts. Check this.
jQuery Impromptu
Javascript warning is limited in terms of formatting as it does not recognize HTML markup. If this is important, consider the alternative on the page. A quick search on the Internet showed the following:
http://www.jondavis.net/codeprojects/jqalert/
Sorry, but in JavaScript you can only use text warnings. Now, for example, you can use \ n for a new line, but the alert () function allows only plaintext. Again, sorry.
Source: https://habr.com/ru/post/1307133/More articles:Suggest any error logging tool for the Winforms application to record errors in a remote database - c #How can I provide another Direct2D rendering object? - c #how to send email with attachment using powershell v1? - powershellHTTP Validation Utilities? - httpEnum values ββin doubt? - cWPF dispatcher timer timer disables my application - timerReset passwords without sending user email - phpCreating a URL - Simple or Hierarchical - SEOWhat is the relative performance of the pseudo-class and custom selectors? - jqueryRegular DLL using: MFC Shared vs MFC is statically linked - dllAll Articles