There is no single scripting language that is used by many for Web Development and so there is no single best scripting language that you could say as the best for Web Development, as the needs are different, and company requirements are varying, so there cannot be a generalized statement stating a scripting language as the best. But even saying so there is some scripting languages that web developers have increasingly found to be the best scripting languages for Web Development and they are:
JavaScript, TypeScript, Python, Ruby, etc. So, if you wish to break into this domain of Web Development, then check out the Web Development training course from Intellipaat. Also, check out the following YouTube video on How to Learn Web Development.