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

Making some copy stand out

As we mentioned earlier search engines don't treat every copy equality but try hard to figure out the most important content in a page. To help search engines and users discover the critical copy on a page we use the B or STRONG tags. We will learn about the differences between them in this session and understand how to work with them effectively.

Video Transcript

00:01All right, so we learned so far a couple of new tags it's time for us to learn a couple more and we're gonna start now
00:06Going into the more of styling type of tags now before we go into them one thing that's important to note
00:12Is that although we're only learning HTML in this course?
00:15There's another thing that we need to learn if we really want to design pages, which is CSS
00:20We're not going into CSS because we don't want to mix too many things together and make this course complicated
00:26But it's definitely a skill set that you want to learn as well
00:28to become a really good HTML developer because you really need to know HTML and CSS and if you're up to it
00:34Oats is to know some JavaScript to really be able to get the most that you can out of a web page
00:40So we're gonna focus now on the on the styling tags now that I gave you that kind of like warning now
00:46One one of the more common styling tags and HTML in general is bolding
00:50Bolding is could be done in a couple of ways so you could see that in our blog for example
00:55We bolded out the powers in your hands once a week. We blah blah blah so we could we could bold it out
01:01Or we I bolded out the word you to make sure that you are aware that you are the thing
01:05That's the most important
01:06So I'm going to show you two different tag types of ways of creating boldness in HTML
01:12One is using using the B tag and the other one is using the strong tag
01:17So I'm gonna go into our HTML into our editor and let's find the word you and we're gonna go into that
01:22you are and I'm just gonna bold it by putting a B around around the letter and
01:29For our or the power is in your hands so again
01:31I'm gonna go inside of the paragraph itself because and by the way
01:35Do you know why I'm not just doing bold outside of the paragraph because it's more logical
01:40There's no there's no it wouldn't be legal for me to do B here as long as I closed my B outside of my paragraph
01:47But it doesn't make sense to do that
01:49It makes more sense to do it inside of the paragraph because we might not want to bold up everything
01:54For example in here, we do bold everything in our blog
01:57So we're gonna block we're gonna bold everything
02:00But instead of using the bold tag the B tag that we just learned just a second ago
02:05We're gonna use the strong tag and we're gonna close the strong tag right right before we close our paragraph
02:14So we open oops we saved it
02:21So we open our strong we close our strunks or everything from here to here should be strong or bolded
02:27We go into our HTML. We'll click refresh again. Oh not in our blog. We don't need to refresh our blog
02:32We'll click refresh again
02:34And we'll see that now this is bolded and we could see also the word you is now bolded although they look exactly the same way
02:40So I'm just gonna throw you into the water even though you don't know about it yet if you would have to guess
02:45Why would there be two different ways to do the exact same thing?
02:49Why would there be both a B tag and a strong tag? I?
02:53think
02:55The strong tag is you want to say something powerful. That's my it's what I think you're it
03:02You're definitely in the right direction. Well, basically the B tag says nothing. It just says make it bolder
03:06Some browsers won't make it bolder
03:08for example
03:09if you ever used do you ever on your phone ever use one of those news aggregators or
03:14Google or when you go and you read an article
03:16But that article Google didn't write or an application where they didn't write the article
03:21They basically fetch that information from different browsers and just display it for the users
03:25And they usually get rid of all the different indicators of bolding and whatever because they want to get rid of all that extra fuff
03:32What the bold does is just literally make something bold without giving any meaning behind it
03:37You're just saying bold for example. We don't have any meaning really for a browser
03:41We're not trying to tell the browser that the word you is important
03:44We're just want to make sure that when someone's reading it they see their name that they're important to us
03:49But for a browser the word you means nothing so we didn't really want to give meaning to it
03:54If a blind user was on our website, they don't really they can't see but they do understand gestures that are happening behind the scenes
04:02as well
04:02So if we just bolded it for the sake of bolding it bolding it when the text reader of the blind person would read it
04:09Out it wouldn't read it out as something more important than anything else
04:13It would just read it out as part of the sentence
04:16Well, when you use strong, you're basically saying this is the most important
04:20This is the most important thing you want to read in this page
04:22This is something that is if you want to only take a cliff note off of this page
04:26You probably want to go to here because here is the juicy part
04:29This is the most important element of this page
04:31okay, and and that's literally what it is so it's both for the search engines to make sure that we tell them what we think is
04:38The most important thing on the page and it's also for users that are disabled or
04:42Users that are working are getting our applications through a third party if they're rendering it through some sort of news
04:48Aggregator or anything of that nature where our
04:51Highlightings might not be included. We are enabling
04:56Through this way to enable our the users to use it on and let me yap about that another hour
05:01But that makes sense, right? So we have the bold we have the strong the bolt has no meaning but the but the strong does
05:07And you want it you want to kind of think about it if you were a blind user or you wanted to accommodate to blind
05:13User reading on your page. Do you think it's worthy of being strong? Don't do it only for SEO
05:18Don't do it. Don't be one of those evil people that don't care about minorities that are you know
05:24And blind people be one of those people that build their pages and think thoroughly about how do you make sure that your page
05:30Is the most accessible to the most people that you can't so when you use bold
05:34You're just bolding it for your marketing purposes when you're using
05:38Strong you're basically telling whoever's reading this page. Please read this. This is more important
05:44Okay, so that's a bold and the strong and in our next video. We're gonna continue exploring a few other really really fun
05:52ways to
05:53Change your look of your HTML

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!