HTML script element defines javascript in HTML document. It is inserted in head or body section of HTML page and used as internal or external javascript.
<script>JavaScript code</script>
You can use script element any where within HTML document.
Script is a pair tag and output of script element is javascript code like you can see in above example.
Open notepad or any other text editor, follow the following points.
Paragraph has changed
save file with name task.html or task.htm and then open it using any browser and see results.
Don't forget script is non empty element which means it always comes in pair.