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

The HTML Headlines: H1-H6

Headlines are more important that you might think. As search engines scan your web page they try to figure out what is more important and what is less so. One of the most effective ways search engines scan a page is by figuring out the main content in the paragraphs and understanding the headlines in the pages. In HTML there are 6 type of headlines marked with the tags H1-H6. We will see how to work with these tags and understand more deeply there value and importance.

Video Transcript

00:00Alright, so we stepped along in our progress so far and we've created already quite a lot of tags.
00:06So I first wanted to see if you have any questions so far.
00:09No.
00:10We're good?
00:10I think I'm okay, yeah.
00:12Very, very cool.
00:13I know a good title, What to Buy Mom for Mother's Day.
00:16Let's do that, alright?
00:17So let's create a new title.
00:18So let's go into our body and let's learn a new inner title inside of our page, okay?
00:23So in our page, we're going to learn now six new tags right away.
00:28So there's a lot of different types of titles and you can see that also in books.
00:32There's like the highest importance title, like a chapter name.
00:36Then there's in the page titles and HTML provides you the flexibility of creating titles up to
00:42six levels deep.
00:43So you could have like the most important title, a little bit less important, less important
00:48just to break down the page and make it more easy to people to read.
00:52So the way you create titles in HTML is very simple.
00:54Inside of your body, because we want to create a title in the body,
00:57we're going to create an H1 tag.
01:00Now the H1 tag is the highest priority tag and it could go all the way down to H6.
01:05Now if you don't need H6, don't use H6.
01:07There's H1, H2, H3.
01:09If you ever need to, it's really rare where our page will need all the way to go down
01:13from H1 to H6, but it's used for headlines only.
01:16So we're going to call this What to Buy Mom for Mother's Monsters Day.
01:22Mother's Day, Mother's is with a, yeah, day.
01:30It's going to have my spell checker with me while we're doing this.
01:32All right.
01:33So What to Buy Mom for Mother's Day?
01:35And we probably want to write something inside of here,
01:38but I'm going to delete this copy for now.
01:40And by the way, this copy was a floater, right?
01:42It was inside of our body, but we didn't really describe what it is.
01:46Okay.
01:47Not a good idea.
01:48We always want to describe what a copy is.
01:50So the search engines could understand what it is.
01:54So in this case, this is probably part of a paragraph,
01:57or this might be a slogan that we want to put.
01:59So it might be, Zero2Geek is a great school.
02:01We might want to put that as an H3 title on the bottom of the page
02:04to remind you that Zero2Geek is a great school.

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!