Mastro 👨‍🍳
GitHub   Bluesky

Why learn HTML/CSS?

In this first chapter of the Mastro guide, we quickly go over your options when choosing a tool to build your website with, why HTML and CSS are still key, and why we’ll be using a static site generator in this guide.

You want to build a website?

The following are your four major options. Starting with those giving you the least control, and ending with what’s giving you the most control and capabilities:

Why learn HTML and CSS when there are easier ways to build a website?

What your web browser (Safari, Firefox or Chrome) understands is HTML, CSS and JavaScript. HTML is for text and structure, CSS for looks and styles, and JavaScript for interactivity (should you need that).

In the end, all four options above send HTML and CSS to the browser. But the way they go about it is very different. It’s up to you to choose the right tool for the job.

But if you want to end up with a truly great website, that loads fast even on mobile phones, and that looks exactly as you want to, then you should take a couple of hours to learn the formats in which your website ultimately will arrive in the browser: HTML and CSS. And the easiest way to get started with that is the third option: using a static site generator. So that’s what we’ll do in this guide.