Domanda di colloquio di Qualcomm

Why are there two different languages, html and css, when we can style the web page using html itself.