HTML and CSS Relationships

HTML is the structure of a website. CSS is the styling or appearance. You use HTML to lay out your content, then CSS to position, set the colors, typography, etc.


The reason why the homepage of every website is typically the file "index.html", is because every browser will look for that file first. Your index.html file must be all lowercase, with no spaces, numbers, etc.

More tips