Twitter

Importance Of Correct And Valid HTML




Author: Kabir Bedi

HTML is the foundation of the web! HTML defines the structure and presentation of the website. Therefore, it needs to be clean, correct and validated.

HTML document validation is an automated process. Just like the Spell-Check feature in MS Word enables you to identify and correct spelling and grammar mistakes in the document, there are HTML validators that enable you to validate your HTML coding. However, there are cases where HTML validators return cryptic or arcane-sounding results that confuse the web developers. And fixing these errors can be a daunting task.

It is not uncommon to make mistakes while writing code. To ensure that the code is written correctly and to fix any undue errors, HTML validators are used. There are a number of free online HTML validators available on the internet that are up-to-date and efficient. In fact, the World Wide Web Consortium, W3C has its very own W3C HTML Validation Service at http://validator.w3.org The W3C is a standard body that offers specifications and guidelines to enhance the accessibility of website and define standard HTML specifications.

It is very easy to use the W3C HTML Validation Service. You just need to enter the address of the online web page , upload the HTML file or documents. After you have done this, the service will automatically display a list of all the potential problems in the HTML. You can correct all the mistakes and resubmit it to confirm the consistency of the document.

However, in order to sort the problem, you would need to know what the problem is and how it can be sorted. This is something that bothers a lot of young web designers and developers who are fairly new to the intricacies of HTML. Fortunately, some of the most common HTML errors are in fact common. Here are some popular errors and ways to fix them.

Absence of DOCTYPE

The HTML document should start with a DOCTYPE declaration. In fact, it should be the first line of your document. If you do not start the HTML document with a DOCTYPE declaration, HTML validators wont be able to perform their job.

Absence of Closing Tags

One of the most common mistakes that happen in HTML coding is unclosed tags. Especially, I you have the habit of copying and pasting codes among documents, there may be several instances where you start a tag but forget to close it. This can wreck havoc on the layout of the web page.

Improper Nesting of HTML Tags

This is the case when you forget to close HTML tags in the reverse of the order in which you opened them. This further leads to discrepancies in the overall code. However, once you spot them, it is extremely easy to fix them. All you need to do is to arrange them accordingly.

Absence of Quotation Marks

Often in case of hyperlinks, people tend to start quotation marks but forget to close them. This results in the link not being created at all. It it important to go through the text carefully and close the quotation marks.

Absence of ALT Attributes

Alt tags are necessary in tag in order to display the alternate text that describes the image used on the web pages. Without the Alt tag, the image will be on its own supplying no information to search engines and thus hampering the accessibility of the website.

Once, you have corrected all the errors in your HTML codes, resubmit the document to the validator in order to ensure that the code is clean and free of all inconsistencies.

About the Author:
Kabir Bedi is working as a senior web consultant with LeXolution IT Services, a website maintenance India company that offers a range of web page design in addition to regular website design and development services and search engine optimization services. "


Total Word Count: 666
Click here to View more Articles at: Invision-Graphics
Invision-Graphics Article Source:

Approved on Wednesday, February 25 @ 16:52:54 CST by Shawn DesRochers
 
Options
 Return to the main page Return Home

 Print Page Print Version

 Ezine Ready Ezine Ready

 Send to a Friend Send To A Friend

 Discuss Article Discuss Article

 Related Articles Related Articles

 Search Articles Search Articles

 Stories Archive Stories Archive

 Subscribe Newsletter Subscribe Newsletter

 Syndicate Article Topic: HTML XML News Feed

 Contact US Contact US
Article Rating
Average Score:
Votes: 0

Rate this article:
Importance Of Correct And Valid HTML

Importance Of Correct And Valid HTML – Aticle Rating 5 Stars
Importance Of Correct And Valid HTML – Aticle Rating 4 Stars
Importance Of Correct And Valid HTML – Aticle Rating 3 Stars
Importance Of Correct And Valid HTML – Aticle Rating 2 Stars
Importance Of Correct And Valid HTML – Aticle Rating 1 Star


Syndicate Article
 My Yahoo!
 Google
 NewsGator
 Stumbleupon
 PluckIT
 Rojo
 Bloglines
 My AOL
 Blogrolling
 ENewsblog
 NewsIsFree
 NetVibes
 del.icio.us
 Technorati
 Digg This
 FeedBurner
 FeedMailer
Sponsor Advertising
Writing Community
community for fiction writing, story writing, poetry writing, writing contests, writing help, writing warnings

Text Advertising Info Text Advertising Info
Support US

Make a donation!
If you enjoy our services, make a donation today!

Google Support Ads
Related Links
More about HTML
News by Admin

Advertise Here

Most read story about HTML:
How to Create HTML Email Newsletter

Book Advertising
Get this Book Now
Buy this Book Now!
Click Here
Comment on Article:"Importance Of Correct And Valid HTML" Login | Create an Account | 0 comments
The following comments are owned by the individual who posted them. Invision-Graphics is not responsible for the content or the accuracy of the following statements.
No Comments Allowed for Anonymous, please Register
Related Categories
Technorati TagsTechnorati Tags


Click Here to Advertise
Affordable Hosting! http://www.invision-graphics.com/images/banners/468X60_VISIONHOSTING.gif
 Today: 24,492  Yesterday: 66,822  Total Hits: 7,505,573
Page Rendered in: 0.14s - Total Queries: 32 - MySQL DB: 72.6 mb's - Pages served in past 5 minutes: 420