HTML and CSS Relationships

HTML is the structure of a website. CSS is the styling or appearance. You use HTML to layout your content. Then CSS yo position, set the colors, typography, etc.


The reason why the home page 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