A web page gets interactive behavior from code in a file with the ___ extension, which runs mainly inside the browser a…