The problem with that assumption is that it's very domain specific. While all good developers of web apps definitely know HTML and JS, there are a lot of fantastic programmers who have never touched it. The world of software is much, much bigger than just web apps.