It is a lot of fun for me but I am a bit crazy and I derive enjoyment out of things that most humans don’t. What you will find is that you can use HTML with PHP sprinkled in or visa versa.
You have to find a way to make it fun like anything else. Create something you like. Recreate something interesting you find on the web. Perhaps play with some frameworks to see how you really want to use it