Learned is a big thing to say, after all this topic (html, css, etc.) is a job in itself, sometimes also divided into many different branches.
Anyway, you can do as @bolofecal said, try to develop a generic webpage with simple styles.
When you are satisfied of your result you can go to a website that you like to take some inspiration and work on creating your own website, like a blog or a portfolio, even if it’s just pure fantasy.
This is all about practice.