There are numerous ways to invoke a function. Another way to invoke a JS function is to simply type the name of that function!

However, when you name the function, that is in fact a JAVASCRIPT command, not an HTML command. Therefore, you must have a script tag as shown in the HTML code below. You will need to look at the source code of this page to see what is going on.