Recommend using for all modern browsers including Chrome, Firefox, Safari, and Internet Explorer. As well as all responsive and mobile browsers.

You can use comments to clarify your code, which may assist you after you edit the ASCII text file at a later date. this can be particularly helpful if you have got lots of code.

<!-- Creation Date: June 21, 1996 -->
<!-- Modifications: --> 
<!-- Sep 26, 1996: Added Links to Steve's Page --> 
<!-- Oct 10, 1996: Updated product list -->

Tips and Notes

You can additionally use the comment tag to “hide” scripts from browsers while not support for scripts (so they do not show them as plain text):

<script type="text/javascript">
function displayMsg() {
    alert("Hello World!")