how to print out warning on html page code example Example: how to make an alert in html <script> alert('this is an alert'); </script>