When knowledge can be acquired anywhere (if you know how), in this case HTML offers more chances of expanding your mind and rise up your intellectual coefficient. It's a good point if you're trying to learn beyond of it. HTML coding will give you practice while, as it's an easy language, will introduce you to the programming world.
Well I think you are going in right direction.