P. 1
E-Learning Concepts and Techniques, by Bloomsburg University of Pennsylvania's Department of Instructional Technology

E-Learning Concepts and Techniques, by Bloomsburg University of Pennsylvania's Department of Instructional Technology

4.5

|Views: 4.776|Likes:
Publicado porSetyo Nugroho
E-Learning Concepts and Techniques, by Bloomsburg University of Pennsylvania's Department of Instructional Technology
From http://iit.bloomu.edu/Spring2006_eBook_files/ebook_spring2006.pdf
E-Learning Concepts and Techniques, by Bloomsburg University of Pennsylvania's Department of Instructional Technology
From http://iit.bloomu.edu/Spring2006_eBook_files/ebook_spring2006.pdf

More info:

Published by: Setyo Nugroho on Oct 10, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/22/2014

pdf

text

original

A Valuable Tool

As discussed in the previous sections, web standards are the driving force for the designer
to produce accessible and usable websites. A Validator in general can be a very useful
tool that will help the designer be more effective and compliant to the most current and
common standards.

“A validator is a computer program used to check the validity or syntactical correctness
of a fragment of code or document. The term is most often used in the context of
validating HTML and XML documents.” (Wikipedia, 2006)

Luckily for the designer, W3C (World Wide Web Consortium) whose a driving force in
web standards offers free online and offline validator tools for checking HTML, XML,
and CSS. With the growing movement of standards and designing the Internet with better
quality websites most browsers are offering developer tools that include such validators.
Firefox, an internet browser, has a terrific extension developer tool that allows the
designer to check their site online or offline. This validator coincides with the W3C
recommendations.

Why use a Validator

“Compliant code gives you the opportunity of validating your page with a validation
service. Validators process your documents and present you with a list of errors. This
makes finding and correcting errors a lot easier, and can save you a lot of time.” (Dan's
web tips, 2006) The issues of accessibility, visibility and usability are still the major
reasons for standards compliance. The use of a validator will help in those efforts.

There are many reasons to write valid code and below are some examples:

• If you want your site correctly listed on search engines
• Properly written HTML will render better and faster
• Broken links can drive visitors away
• Misrepresentation of your site
• Browsers are becoming more standards compliant

Validator Resources

• HTML Validator – http://validator.w3.org/
• CSS Validator – http://jigsaw.w3.org/css-validator/
• RSS Validator – http://validator.w3.org/feed/

Chapter 11 – Web Standards

175

E-Learning Concepts and Techniques

• HTML Validator by Web Design Group – http://validator.czweb.org/html-
validator.php
• Watchfire Webxact – http://webxact.com/
• Download Validators – Recommend CSE Lite (free) http://download.com

Developer tools are offered in Firefox, Internet Explorer, and Netscape.

The Issues with Validators

The problems with validators are the standards itself. I realize we are promoting
standards and that it would be great if they are followed 100% of the time, but we
wouldn't be realistic. There are some good reasons not to follow specific standards.

Some of the validators are stricter than the others creating inconsistent results from tool
to tool, as you can see from the tables below. Our recommendation would be to stick
closely with W3C's recommendations for this will be the norm for most sites and browser
services.

Another issue is that “a validator determines which HTML standard to validate your
document against by the DOCTYPE declaration at the beginning of your document. If the
DOCTYPE is missing or incorrect, this will cause the validator to report errors, maybe
weird ones like saying that is an unknown tag. So you need to have the right
DOCTYPE if you want your pages to validate.” (Dan's web tips, 2006) What you see is
what you get editors often forget to include this tag or integrates its own version.

Something you need to be aware of when you use a validator is the mistakes that you
created intentionally. You do not have to change your creativity, but be aware how you
might see it in other browsers. Coding can also be done correctly, just not according to
the most recent standard, i.e. vs. . In the older editor programs they tend to
use for creating the bold effect. Does this mean you have to constantly upgrade your
programs every time they change a standard? NO, that would be too costly in the long
run! The W3C doesn't change the standards on a whim; for the most part they remain
consistent according to the technology that is available.

HTML Validation Results by WDG (Web Design Group)

Line 27, character 9:

You're Reading a Free Preview

Descarga
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->