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

Finding HTML and CSS Errors

Improving your HTML pages is important very important. In this session we talk about file sizes, handing CSS and HTML errors.

Video Transcript

00:00Alright, so let's look at the rest. The rest are not as important. Well, they are all important, but very intuitive
00:05So we're gonna run through them relatively quickly
00:07I'm gonna go into the edit and let's just talk about it
00:09So first of all HTML code size which we saw that we also look like we looked at Oto in an hour
00:14When we're working on our website
00:16One thing that I like doing with the HTML code size is once in a while
00:20I try to go to my website and I pick the file size that is the biggest and I go into it and try to
00:25Figure out if I can make it smaller
00:26So although I don't do this on a day by day basis whenever I have free time
00:30It's one of those tasks that I like doing to try to make my file sizes smaller whenever I could
00:35So it's just a nice resource to have whenever you want to look at it
00:38You don't have to have it open all the time
00:40Robot instructions basically enables us to see if the page itself is being indexed or not indexed based on the robot instructions
00:46If you don't know what that is, you don't really have to worry about it
00:49It's really mainly for websites that have pages that should be hidden that you don't want Google to index them
00:55If you don't put anything Google automatically index everything
00:58But it is a good idea to always put a robot
01:01But it's out of the scope of the content of this page and it's something that your developer should be aware of and you could
01:07Update them about asking them to put in the robot instructions on your website
01:12Validation errors basically are the same thing. We saw there's errors and we were working on building HTML pages
01:16So literally just list out the number again
01:19one thing that's nice about when you have like 200 pages is I like
01:22Sorting everything by the amount of validation errors and then I spend a day once in a while fixing errors
01:28I always get new errors. It's just part of the process of a site
01:31That's live and and developing
01:33But then it makes sure that things don't go out of control once in a while
01:36I spend a day and I try to fix as many errors as I can starting from the pages that have the most amount of
01:41Errors the same is true with CSS validations errors, but though personally I put less emphasis on it
01:46I usually focus more on the regular validations of the HTML itself
01:52HTTP status just tells you if the page itself is
01:55Redirecting if the page itself is a temporary redirect is a very negative for SEO
01:59So you want to make sure that if you do a redirect?
02:01It's a permanent one
02:03If the page is loading you're just gonna get the regular status and if the page is not loading at all
02:08You would get a four you would get a 400 and something code, which is usually a negative
02:13Well, it's always a negative and you want to fix that
02:16Now if you don't want to get too technical on those type of stuff
02:19It's really just good also for you monitoring and you could get your developer to fix those issues
02:24But usually when you get a 401 is similar to the scenario where we start our site and we loaded four pages that don't exist
02:29it's because you probably have a broken link somewhere and that's
02:33Really how you could start figuring out how to fix your site because the less broken links the more fluid your site is
02:38The more users are gonna be on your site
02:40The more the users are gonna be happy the more search engines are gonna be happy as well because search engines are robots
02:46They roam around your site and they don't want to get stuck and if they get stuck
02:49They get kind of pissy

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!