Different ways to call JavaScript function in HTML?

Different ways to call JavaScript function in HTML?