NO, There is a big NO to this approach of learning. When it comes to web development various languages play their role. No standard web page can be built without making the use of at least three languages: -
NOTE:- Though in modern days we can create the whole website (both front-end and back-end) by just using JAVASCRIPT language. We will talk about it in some other blog. But here I am considering you a beginner.
If you want to learn my way, then you should learn all the 3 languages parallelly. Don't confuse what I mean here by the parallel with the literal meaning of parallel. What I mean is, you should learn all three languages in phases. At first, you should learn HTML (level 1) then CSS (level 1) then JAVASCRIPT (level 1) then we can move on to level 2, i.e. HTML (level 2) then CSS (level 2) then JAVASCRIPT ( level 2) and so on until you are confident that you know all three languages' basics and can use them when required.
NOTE: - I am still not telling you to become a master in all three languages. But you should have enough experience so that you can understand what's going on between all three languages and what are their uses.
HTML: -