<html> <head> <title>Finding the maximum number</title> <script type="text/javascript" language="javascript"> <!-- // function f(){ var MaxNum = Math.max(1,2,3); document.write(MaxNum); } // --> </script> </head> <body onload="f()"> </body> </html>