Everything in HTML is done with tags. A tag starts with <, has a name, and closes with >. Most tags come in pairs - an opening tag and a closing tag with a /:
<p>This is a paragraph</p>Not all tags have a closing tag. Some are self-closing, like <img> or <br>. We'll see those later.
HTML is a markup language, not a programming language. There are no loops, no variables, no logic. You're just telling the browser how to structure the page.
Whitespace doesn't matter in HTML. You can put 50 empty lines between two words and they'll still show up next to each other. Structure is defined only by tags.
HTML
CSS
JavaScriptAll three words show up on the same line.
You also don't need to memorize all HTML tags. Even after 6 years of Salesforce development, I know maybe 10-15 by heart and Google the rest.