As a markup programing language, HTML is used to create static websites. CSS, on the other hand, is a style sheet language used to define the style and overall presentation of different files and page elements in a markup language like HTML.