02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

The core HTML tags

The core HTML tags: HTML,HEAD and BODY. The core HTML tags are the tags every single HTML page should have. We will walk through the basics of it and understand what they do and why they do it.

Video Transcript

00:00Every HTML page has a few tags that you have to have in the page without them. It's not really a page
00:05Okay, so we're gonna look at that p tag again in the future
00:07But let's look at those basic tags that every page needs to have
00:11So even be yeah, let's do that. We'll start with that and then we'll move on
00:15So now the next tag is the first basic tag is HTML
00:19Which is kind of makes sense
00:20We basically tell our browser that everything from the start here all the way to the end of it is all HTML
00:26Okay, okay. That's logical. Okay. The next step is every HTML page has two sections
00:31It has the invisible section that's behind the scenes, which is called in programming in HTML
00:36It's called the head area and you have the body area
00:39The head area is controlled all the stuff that you don't see or that you see in the header of the page
00:44such as the head and
00:48The head as opens and closes
00:51Right. So that's the head itself. Let me tag that in. What does that mean that it's not seen?
00:56well, there's some stuff that are not part of the page itself, but we still need to tell it to the computer such as what is the
01:04Thought that we're gonna be used
01:06What are the colors are gonna be all over in the page a little bit of code that's gonna be in the background the title of the
01:12page
01:12Maybe keywords so search engines could find out about the page
01:15But it's stuff that we don't want people to see on the page itself
01:18So anything that doesn't go into the page most of the time goes into the head area
01:22Which is literally the it's not a good name. If you were really new to this
01:26I would if I would have to name it as the name. I would say the the
01:31background or the
01:33External information or literally it's anything that's not part of the body. No, so it's not body. I would call it but all right
01:40All right, and then we have the body area itself and the body itself basically contains everything that is visual
01:46Basically, okay sending that goes on the page goes into the body. Okay, so I'm gonna ask you a question now
01:51I'm gonna put you on the spot
01:53So remember when we created the and I'm gonna save this now if I'm gonna ask you two questions if I render the page
01:59What do you think we're gonna see on the page? I want to see the body
02:03What is gonna be on the body?
02:08Headlines
02:10So let's see what happens and then you tell me why what so before we saw things are great
02:16Okay things this great well
02:19Exactly. So now we see nothing
02:21We just typed quite a lot and we see nothing. So if you're when you're looking at the code, could you explain to me?
02:26Why do you think nothing is there now?
02:31Because we didn't get put anything in the body
02:34Bingo, so all this is just like background information for the browsers to know what to put inside
02:39But because we didn't put anything in the body itself. We can't see anything

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!