html validation - html code help

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Newbie esp about html validation - seems like something to strive for.
Yet many pages even "enterprise" corporate type pages do not validate,
yet seem to display well on most browsers. Two questions:

1. What is the reward, the reason to strive for a validating page?

2. Given the code snippet below which does not validate - how can
accomplish the same "look" with code that does validate? Please without
CSS, just html. Thanks

<LT>Technical Skills: </LT>

Re: html validation - html code help wrote:

Quoted text here. Click to load it

You get more problems when you have bugs in your code AND bugs in browsers
then when you only have bugs in browsers to contend with.

It also makes it a lot easier to track down many problems which cause
rendering issues in browsers.

Quoted text here. Click to load it

Why are you resistant to CSS? It is the correct tool for suggesting
presentation for webpages.

Quoted text here. Click to load it

I've no idea what an LT element is supposed to do.

David Dorward       < <
                     Home is where the ~/.bashrc is

Re: html validation - html code help wrote:
Quoted text here. Click to load it

It will let you know wen you use tags that don't actually exist
for your doctype.

Quoted text here. Click to load it

<LT> ???   Lithuania Online is the closest Google brought me.

Re: html validation - html code help wrote:
Quoted text here. Click to load it

The only thing invalid about your code is you made up your own <LT> tag.
(The validator certainly told you this--didn't you read its report?)
Replace it with a valid HTML tag. Don't worry about losing whatever it
is that you think the <LT> tag is contributing the the look of the page,
because it's contributing nothing. Since the browser doesn't know what
it is, it doesn't provide any special look for it.

Quoted text here. Click to load it

Re: html validation - html code help wrote:

Quoted text here. Click to load it


See .  As an
acknowledged newbie, you might also be interested in the other
information you'll find by following the 'Index' link on that page.

Chris Beall

Re: html validation - html code help

On Fri, 3 Feb 2006, Chris Beall brought out into the light of day

Quoted text here. Click to load it

I'd say the "reward" in this context is that you'd stand a chance of
getting useful help from this group.

Without it, you can count yourself lucky if someone bothers to tell
you that it doesn't validate.  Many of the serious contributors would
just note that you haven't bothered to do your own homework before
posting, and would quietly drop you into their killfile, leaving you
at the mercy of the "try this" merchants who are only too happy to
offer wild conjectures without having to support those conjectures in
any way.

Of course, mere validation is no guarantee of a good web site, any
more than valid English syntax would be a guarantee of great
literature.  It just happens to be one component of web design that
you can - and are expected to - check programmatically for yourself,
*before* appealing for help from the group.

good luck (you'll need it).

Re: html validation - html code help

Quoted text here. Click to load it

I thought you a bit emphatic until I realized to my horror I had indeed
"invented" my own tag that was doing absolutly nothing.

Now I definitely think you were being charitable with me - so I thank you...

FWIW The page validates now...

Re: html validation - html code help

On 3 Feb 2006 09:50:49 -0800, wrote:

Quoted text here. Click to load it

The essence is that validation makes it easier (and so cheaper) to get a
page working correctly across browsers. "Enterprise" corporations often
have plenty of money to waste - or at least behave as if they do.

Stephen Poley /

Re: html validation - html code help

Some good reasons to validate (and check links):

If you want your site listed on search engines (who doesn't?) then make sure
that you have correct HTML. Many engines cannot properly catalog or index a
site that has serious HTML errors. This can greatly reduce the amount of
traffic your web site receives from search engines.

Properly written HTML will render better, render on more browsers, and
render faster than HTML with errors.

Properly written HTML is more likely to be "future-proof" (backward
compatible with future standards and future web browsers).

Broken links can quickly drive visitors away. How many times have you been
annoyed when you found a broken link?

Problems such as "ugly" pages caused by poor HTML constantly drive visitors
away from web sites. Do you want your web site to be one that customers will
leave because of poor quality?

If you think that your HTML is good the way it is and that you don't need to
check it (as many people think), then use a validator to check your HTML to
prove that you're right. Chances are that you will be surprised and that
your HTML will need to be fixed.

Browsers are becoming more standards compliant, and it is becoming
increasingly necessary and important to write valid and standards compliant

A WYSIWYG editor is no excuse for not producing good HTML. If a WYSIWYG
editor does not produce good HTML, then it should not be used or its output
should be fixed manually. Newer WYSIWYG editors are better but many still
have problems writing correct HTML.

Having a site that uses dynamic pages is also no excuse for bad HTML. CSE
HTML Validator lets you easily check the HTML output of your dynamic pages.
If your dynamic pages are outputting HTML that is full of errors, then you
need to fix them.

Writing error-free HTML is the best way to help ensure that pages render
optimally in as many browsers as possible. This includes older browsers and
browsers that are yet to be developed.

Write it right the first time and write it once.

Albert Wiersch /

Quoted text here. Click to load it

Site Timeline