How to embed javascript in a web page?

javascript code can be embedded in a web page between

<scriptlangugage=”javascript”></script> tags