What is "valid" HTML
If y'all lot read SEO advice or webmaster guidelines or web-best-practises, y'all lot should alive told to construct certain plenty that the HTML inward your website is valid.Valid HTML is just website code that totally meets the rules defined by W3C, the non-profit organisation that ultimately makes the rules nearly HTML together with the other scripting languages that are used on the internet.
You tin nation if the code on a site is valid past using a validator tool, like http://validator.w3.org/ - this is the best one, since it's from W3C: if anyone knows whether something follows the rules, together with thence they do.
But really, what is valid HTML/XHTML, together with why does it matter? Basically, it's code that meets all the rules together with standards that possess got been decided for the electrical catamenia version of HTML, every flake at today. It matters because web-browsers are written thence that they correctly demo information on screen if the code that is used to clit it follows the HTML rules.
However, every flake personal devices/computers together with the spider spider web gets to a greater extent than sophisticated, the rules are enhanced thence that browsers tin do more interesting things. This agency that code that was valid several years agone may non alive valid today, because the rules possess got changed.
How to construct the code inward your weblog valid
The brusque respond is that there is no agency to forcefulness Blogger to generate valid code.The slightly longer respond is that Blogger software makes your blog's posts together with pages into web-site pages past combining:
- Its receive rules, and
- Your data, ie your posts, your selected template, the settigns you've chosen inward the Layout together with settings tabs (ref: How the information inward your weblog is organised.).
You tin ascendence whether the code on your posts is "valid" - simply solitary every flake far every flake Blogger's Post-editor lets y'all lot (eg it takes out <p> </p> tags together with uses <br /> instead - this isn't regarded "good practise").
And y'all lot tin edit your template to convey away certain plenty things that are non valid.
But no affair what y'all lot do, you tin non convey away all the "invalid" code that's generated past Blogger when your posts or pages are published, together with y'all lot don't possess got the freedom to "clean" their code either: Blogger provides us alongside costless hosting together with unlimited bandwidth - the terms of this is that they impost some limits on what we tin do alongside them.
So your overall site testament non alive valid accordingto the W3C rules. There is goose egg that y'all lot tin do nearly this - together with personally I don't hollo dorsum this testament alter any-time soon.
Is invalid HTML code genuinely a problem
At showtime glance, this may seem similar a disaster - if Blogger won't construct "valid" code, together with thence we cannot purpose it to construct blogs/sites that display properly, or that encounter Google's receive webmaster guidelines.That's non quite right, though: an of import characteristic of the agency browser-software together with the cyberspace purpose is that browsers effort to to purpose out what to do alongside HTML code that they don't empathise (eg code that isn't valid whatever more, or code that's got novel features that the brower doesn't dorsum upwards yet). Instead of crashing, they make a best-guess about what to demo on the screen, even out though this mightiness convey them (a little) longer than showing valid code.
What that agency for us Blogger-users is that our sites will be just fine most brower-software..
What's more, Google possess got promised that the HTML which Blogger produces will work on the most recent together with last-most-recent version of the currently popular web-browsers - even out though it's non "valid".
The solitary outcome is that our blogs may convey a trivial longer to load, piece the browser decided what to do alongside the "invalid" code - simply in most cases, this extra 4th dimension testament alive small compared to the 4th dimension needed to accuse our pictures and gadgets, non to mention other cool things like Twitter messages or Facebook similar buttons.
Of course, if you're a purist together with abhor "breaking the rules", together with thence having an "invalid" weblog may alive to a greater extent than of a operate than y'all lot tin bear. But if you're realistic, y'all lot testament let on that at that topographic signal are many, many fine sites made alongside Blogger, together with this lack of valid HTML doesn't appear to alive doing them much damage.
SEO together with code-validity
In the early days of search-engine-optimization, people stance that having valid code would construct it easier for Google together with other search engines to human face at together with index your website - together with this would construct it do improve inward search results.Initially, they may possess got been right. But Google et al are pretty motivated to index everything - especially the blogs that their tools create. And today, web-search "spiders" possess got motion pretty clever nearly understanding spider spider web pages, no affair whether they're valid or non (or were valid before, or testament alive valid inward future, etc)
In short, if you've been reading upwards nearly SEO together with plant life a recommendation to "make certain plenty your website code is valid", together with thence I'd suggest skipping that advice, together with spending your 4th dimension worrying nearly to a greater extent than of import things, eg that:
- Your posts are all original, alongside no copyright material inward them.
- They all possess got titles alongside important(*) words inward them
- They all possess got descriptions alongside of import words(*) inward them
- Your pictures all possess got titles together with alt-text.
- You are using the social media (Facebook Twitter, LinkedIn, etc - what e'er plant for your audience effectively.
(*) technically, the phrase is "key words" - together with at that topographic signal are zillions of guidelines telling y'all lot how to select "good" primal words for your niche. But the simplest approach is to purpose version is "interesting" words, that people who are looking for your weblog postal service service are in all likelihood to use.
Related Articles
Does search-engine-optimization affair for your blog.Copyright, blogs together with bloggers
Showing a cinema on your blog
Understanding Blogger's Add-a-Gadget tool
Showing a working Twitter message inward Blogger
Adding Facebook like, Send together with Share buttons.


