HTML Tutorial

#3 - Tagging the code

Based around the topic, the title says it in a very funny pun. Tagging the code. Such a hidden message...

Anyway, today, we are going to be learning about the one and only most important HTML concept: tags!! Now you probably understand the pun by now...

You have a comment tag that says "We'll make something later in here..." in your index.html file.

Yes, I'm talking about here of course:

<!-- We'll make something later in here... -->

Notice how we've already made lots of tags that have tags inside them? The tags inside of a tag are called "children", and the outer tag of the children are called "parents". Keep that in mind now!!

What are we going to do with that? We are going to replace our comment with something more informal like this:

<h1>Welcome to my page!</h1>
<p>I like the <a href="https://gradientos.neocities.org/html/">HTML tutorial</a> made by the Gradient Man.</p>

Now, you can tinker around with the tags you just inserted instead of that measly comment... Just don't edit the content inside of the chevrons!! (chevrons are the pointy things that "p" or "h1" is surrounded in)

And if you ask, you can edit the link inside of the double quotes, but we'll talk about that later

Alright. You just got the concept of tags, children, and parents! And also chevrons just in case you didn't know that...