Think of it as a circle. The backend language, be it PHP, ASP (.net) Java, etc., It exists to help the backend build an interface. HTML, javascript, CSS is basically an interface. Of course, you can make a site exclusively in HTML and CSS, but without internal code, we will create pages that are essentially static. The user interacts with the application, which returns to the server and is processed, etc. And so on .... hence the circle.
HTML cannot talk directly to the database, which is essential for most applications. Consequently, the reason why it is almost impossible to get away from development in the background.
Java ... , , " ". , , , Apple , - . Java , . ... , , , , . Java, , Javascript.