HTML
Let's learn the basics of HTML

HTML is the most basic building block of the Web.

When the Web was born, we had HTML files, they were stored on a server (a centralized location), and browsers were able to visualize the content of the HTML files by asking them to the server.

We’ll see more about this later, but now let’s focus on HTML.

HTML stands for “Hyper Text Markup Language”, and it’s not strictly a programming language. HTML is a markup language, and it is structured using tags.

In its basic form, HTML is stored in a file ends with the .html file extension.

In an HTML file, we basically write text, as we would in a plain text file, but we save it with the .html file extension.

This file contains some content, think paragraphs or titles, organized with some markup that the browser uses to get information on how to visualize this content to the end user.

Here’s an example of HTML in action:

<p>A paragraph of text</p>

<ul>
  <li>First item</li>
  <li>Second item</li>
  <li>Third item</li>
</ul>

This HTML snippet says that A paragraph of text is a paragraph. And then we have a list of 3 items.

p stands for paragraph, ul stands for unordered list, and li stands for list item.

For each of them, we have an opening tag (like <p>), the content, and a closing tag (like </p>).

So <opening tag> …content … </closing tag>.

Now I want to tell you something about HTML you should know.

HTML is not presentational. It’s not concerned with how things look.

Instead, it’s concerned with what things mean.

You don’t tell “make this paragraph red” in HTML.

That’s a presentational aspect.

HTML is just concerned with content.

It just adds some predefined styles here and there, like for example with the list. But that’s it. There’s no customization you can do on how it looks, in HTML.

This will be the job of CSS, but that’s a story for another lesson.

Lessons in this unit:

0: ▶︎ Introduction
1: Your first HTML page
2: Text tags
3: Attributes
4: Links
5: Images
6: Lists
7: Head tags
8: Container tags
9: DEMO Using CodePen
10: DEMO Using VS Code
Are you intimidated by Git? Can’t figure out merge vs rebase? Are you afraid of screwing up something any time you have to do something in Git? Do you rely on ChatGPT or random people’s answer on StackOverflow to fix your problems? Your coworkers are tired of explaining Git to you all the time? Git is something we all need to use, but few of us really master it. I created this course to improve your Git (and GitHub) knowledge at a radical level. Launching May 21, 2024. Join the waiting list!