Welcome, Guest. Please login or register for free.
Did you miss your activation email?
Thursday 21 August 08 17:50 BST (UK)
Welcome Home Help Shop Search Calendar Login Register
Search Images 

Online
 
  First Name(s)

Last Name

 
News: Ad: Ancestry.co.uk - Subscribe today - your ancestors at your fingertips

+  RootsChat.Com
|-+  General
| |-+  The Common Room
| | |-+  Free RootsChat Webspace (Moderator: trystan)
| | | |-+  W3C website validation ... discussion
« previous next »
Pages: [1] 2 3 Print
Author Topic: W3C website validation ... discussion  (Read 1939 times)
downside
RootsChat Aristocrat
******
Offline Offline

Posts: 2459


Make my day


WWW
W3C website validation ... discussion
« on: Wednesday 10 January 07 22:49 GMT (UK) »

Hi Julian

I'm on top of the world today because I managed to get all the pages on my website to conform to W3C s strict guidelines.  I guess I should pick up my W3C conformance medal and put it on my site but knowing how quirky certain browsers can be, I don't think I'll bother.  Wink

I did scan quite a lot of RootsChat sites today and noticed all of them threw up errors (sometimes they went into 3 digits).  It doesn't mean they do not work of course, but I suppose we should aspire to W3C conformance. 

Please discuss ............

downside

Moderator Comment:  split off from another topic, for a seperate discussion
« Last Edit: Saturday 13 January 07 09:43 GMT (UK) by Berlin-Bob » Logged

Sussex: Floate, West
Kent: Tuffee
Cheshire: Gradwell
kerryb
RootsChat Marquessate
********
Offline Offline

Posts: 9207



WWW
Re: Website created - now some questions!
« Reply #1 on: Wednesday 10 January 07 23:00 GMT (UK) »

Hi Downside

I agree we probably should all be aiming for your dizzy heights - W3C heights that is, but don't forget most of us amateurs, learning about web design as we go along and just getting our first site up and running is hard enough!!!

Kerry
Logged

Census information Crown Copyright, from www.nationalarchives.gov.uk

Searching for my family - Baldwin - Sussex, Middlesex, Cork, Pilbeam - Sussex, Harmer - Sussex, Terry - Surrey, Kent, Rhoades - Lincs, Roffey - Surrey, Traies - Devon & Middlesex & many many more to be found on my website .... www.kerrysfamilyhistory.co.uk
julianb
RootsChat Aristocrat
******
Offline Offline

Posts: 1349


Portrait of the genealogist as a young man


WWW
Re: W3C site validation ... discussion
« Reply #2 on: Friday 12 January 07 22:40 GMT (UK) »

Quote from: downside
Hi Julian

I'm on top of the world today because I managed to get all the pages on my website to conform to W3C s strict guidelines.  I guess I should pick up my W3C conformance medal and put it on my site but knowing how quirky certain browsers can be, I don't think I'll bother.  Wink

I did scan quite a lot of RootsChat sites today and noticed all of them threw up errors (sometimes they went into 3 digits).  It doesn't mean they do not work of course, but I suppose we should aspire to W3C conformance. 

Please discuss ............

downside

Sorry I forgot about your plea to discuss this - distracted by other things.

I think I may have misunderstood you.

When you said to wildfang ...

Do you realise that your website on RootsChat freespace is the only one to pass the W3C validation test and be error free?

I had assumed that you had checked all of the websites on RootsChat free webspace.  This prompted me to offer you a medal (and question your sanity).

But then you said later on Wednesday

Quote
I did scan quite a lot of RootsChat sites today and noticed all of them threw up errors (sometimes they went into 3 digits).

Either you scanned all the others on a previous day, or you only scanned the ones you scanned on wednesday. 

If it is the latter, I have to withdraw my offer of a medal and my questions about your sanity, on the basis that your congratulations to Wildfang may not have been strictly accurate - because wildfang (subject to "sorting" the RootsChat counter) might not actually be the only owner of a W3C compliant website on RootsChat webspace.

Anyway, I am delighted you've been able to get your site into a W3C compliant state.  It's obviously important to you.

JULIAN

PS: 20 errors on W3C validation of my FH site home page - but I'm more concerned that it looks ok in different browsers.  It does. 
« Last Edit: Saturday 13 January 07 07:47 GMT (UK) by Berlin-Bob » Logged

Essex - Carter, Danns, Mason, Middleditch, Pond, Poole, Rose, Sorrill, Surry, Theobold
Kent - Luetchford
Nottinghamshire - Baker, Dunks, Woodward, Price, Priestley
Suffolk - Rose
Surrey - Baker, Bedel, Bransden, Carter, Coleman, Gibbs, Luetchford, Quinton
Sussex - Gibbs, Langridge
Wiltshire - Brice, Rumble

http://genbires.blogspot.com/

http://genbires-networking.blogspot.com/

Any census info in this post is Crown Copyright, from www.nationalarchives.gov.uk
kerryb
RootsChat Marquessate
********
Offline Offline

Posts: 9207



WWW
Re: W3C site validation ... discussion
« Reply #3 on: Saturday 13 January 07 08:16 GMT (UK) »

I noticed 23 on mine when I did the test however they mainly seemed to be to do with the html created by my software package, or at least those that I understood did.

Downside if web software package creators do not have a responsibility to make their packages W3C compliant why should we bother?

Kerry
Logged

Census information Crown Copyright, from www.nationalarchives.gov.uk

Searching for my family - Baldwin - Sussex, Middlesex, Cork, Pilbeam - Sussex, Harmer - Sussex, Terry - Surrey, Kent, Rhoades - Lincs, Roffey - Surrey, Traies - Devon & Middlesex & many many more to be found on my website .... www.kerrysfamilyhistory.co.uk
Berlin-Bob
Global Moderator
RootsChat Marquessate
*******
Offline Offline

Posts: 5058


by My Daughter. Chatting to find her Roots !


Re: W3C website validation ... discussion
« Reply #4 on: Saturday 13 January 07 09:20 GMT (UK) »

Just to add a few basics, for anybody who wants to join in:

Quote
Why should I validate my HTML pages?

One of the important maxims of computer programming is: Be conservative in what you produce; be liberal in what you accept.

Browsers follow the second half of this maxim by accepting Web pages and trying to display them even if they're not legal HTML. Usually this means that the browser will try to make educated guesses about what you probably meant. The problem is that different browsers (or even different versions of the same browser) will make different guesses about the same illegal construct; worse, if your HTML is really pathological, the browser could get hopelessly confused and produce a mangled mess, or even crash.

That's why you want to follow the first half of the maxim by making sure your pages are legal HTML. The best way to do that is by running your documents through one or more HTML validators.

A lengthier answer to this question is also available on this site if the explanation above did not satisfy you.
from http://validator.w3.org/docs/help.html

I've highlighted what I think is the most important point

the "lengthier answer" in  the above link is also worth reading.

Bob
Logged

Searching for Coleman, Moore, Kallnung in London; Margulies, Remenyi in E. Europe;
Ancestors of Hessie Stevenson-Coleman-Baxter (Ireland, 1861)
and, of course, any other ancestors for my web-site http://boco.rootschat.net

All Census Data included in this post is Crown Copyright (see: www.nationalarchives.gov.uk)
Berlin-Bob
Global Moderator
RootsChat Marquessate
*******
Offline Offline

Posts: 5058


by My Daughter. Chatting to find her Roots !


Re: W3C website validation ... discussion
« Reply #5 on: Saturday 13 January 07 09:32 GMT (UK) »

Quote from: Kerryb
if web software package creators do not have a responsibility to make their packages W3C compliant why should we bother?

If you only use software packages, then it's no big problem, as it will at least be consistent.

The problems arise, if the output from the software package looks different, in different browsers,
or,  - and this is probably our most important concern - if we try to add bits to the package-produced pages.

Keith Bateman's topic: Why has the Rootschat footer become a header!!?
http://www.rootschat.com/forum/index.php/topic,205249.0.html
is a prime example of this.

Bob
Logged

Searching for Coleman, Moore, Kallnung in London; Margulies, Remenyi in E. Europe;
Ancestors of Hessie Stevenson-Coleman-Baxter (Ireland, 1861)
and, of course, any other ancestors for my web-site http://boco.rootschat.net

All Census Data included in this post is Crown Copyright (see: www.nationalarchives.gov.uk)
julianb
RootsChat Aristocrat
******
Offline Offline

Posts: 1349


Portrait of the genealogist as a young man


WWW
Re: W3C website validation ... discussion
« Reply #6 on: Saturday 13 January 07 10:36 GMT (UK) »

Bob and others

You might be amused if you put Rootschat through the W3C validation checker  Grin

JULIAN
Logged

Essex - Carter, Danns, Mason, Middleditch, Pond, Poole, Rose, Sorrill, Surry, Theobold
Kent - Luetchford
Nottinghamshire - Baker, Dunks, Woodward, Price, Priestley
Suffolk - Rose
Surrey - Baker, Bedel, Bransden, Carter, Coleman, Gibbs, Luetchford, Quinton
Sussex - Gibbs, Langridge
Wiltshire - Brice, Rumble

http://genbires.blogspot.com/

http://genbires-networking.blogspot.com/

Any census info in this post is Crown Copyright, from www.nationalarchives.gov.uk
Gadget
RootsChat Marquessate
********
Online Online

Posts: 16276


My Mum made me pretty frocks


WWW
Re: W3C website validation ... discussion
« Reply #7 on: Saturday 13 January 07 10:59 GMT (UK) »

Julian put my home page through and got the grand total of 19 - all NOF generated.

I think we all try to achieve W3C standards in what we do - certainly I remember mentioning it on a thread many months ago, in relation to my personal bugbear, flashing gifs.

Surely, as well as attempting to achieve these standards, we should make sure that our websites are interesting and easy to read and provide relevant information and are easy to negotiate.

Purity of coding is one thing, the end product is what most people want to see and read.

Gadget

Logged

Website: www.ancestral-tales.co.uk



My main Surname interests are on the Surname Interests Table  http://surname.rootschat.com/ and my website (above)

Census &  BMD information Crown Copyright www.nationalarchives.gov.uk and www.scotlandspeople.gov.uk
kerryb
RootsChat Marquessate
********
Offline Offline

Posts: 9207



WWW
Re: W3C website validation ... discussion
« Reply #8 on: Saturday 13 January 07 11:04 GMT (UK) »

Absolutely agree Gadget, I am not sure I fully understand this whole subject.

Oh I get that colour blind people should be able to read our text and we should't detract from our content by loads of flashing gifs.     I also understand that different browsers have different effects on our wonderful   Grin Grin Grin creations meaning some people have to scroll horizontally or vertically more than others for instance.

However why do we have to go beyond that and worry about purity of coding if it doesn't affect anyone?

Kerry  Huh Huh
Logged

Census information Crown Copyright, from www.nationalarchives.gov.uk

Searching for my family - Baldwin - Sussex, Middlesex, Cork, Pilbeam - Sussex, Harmer - Sussex, Terry - Surrey, Kent, Rhoades - Lincs, Roffey - Surrey, Traies - Devon & Middlesex & many many more to be found on my website .... www.kerrysfamilyhistory.co.uk
Gadget
RootsChat Marquessate
********
Online Online

Posts: 16276


My Mum made me pretty frocks


WWW
Re: W3C website validation ... discussion
« Reply #9 on: Saturday 13 January 07 11:11 GMT (UK) »

Absolutely, Kerry.

If it is a large website that is being devloped by a number of people then it is important that it conforms to an agreed standard and structured methods of coding (I won't bore you with my experiences of trying to unravel programs written inunstructured Cobol in the old days!)

However, I read somewhere that W3C standards have not actually been accepted by the 'industry' anyway. They are still being formulated and discussed.

Roll Eyes Roll Eyes Roll Eyes

Gadget
Logged

Website: www.ancestral-tales.co.uk



My main Surname interests are on the Surname Interests Table  http://surname.rootschat.com/ and my website (above)

Census &  BMD information Crown Copyright www.nationalarchives.gov.uk and www.scotlandspeople.gov.uk
Berlin-Bob
Global Moderator
RootsChat Marquessate
*******
Offline Offline

Posts: 5058


by My Daughter. Chatting to find her Roots !


Re: W3C website validation ... discussion
« Reply #10 on: Saturday 13 January 07 11:25 GMT (UK) »

The theory is, that in a perfect world, we all write (or have generated for us) perfect HTML code and every browser shows this code in exactly the same way.

so IF
we have w3c compliant code
AND
every browser is w3c compliant
THEN
our website looks the same in every browser

"What you see is what I gave you"

BUT
In the real world, each browser gives you different results, so we have to work against / around (?) this.

As Gadget says,
Quote
If it is a large website that is being devloped by a number of people then it is important that it conforms to an agreed standard and structured methods of coding
Translated to our case:
We write a website, and then add code from other people (in my case: Legacy, GenoPro, phpGedView, kstableu, statcounter, RootsChat counter, e-mail form and guest book)
and this needs to "look right" in everybody's browsers.

Quote from: Gadget
However, I read somewhere that W3C standards have not actually been accepted by the 'industry' anyway. They are still being formulated and discussed.

I feel the "best thing" we can do (if this is an issue for us) is to try for w3c compliance, such as it is,
and still keep testing in as many browsers as possible

Bob

ps I've spent 35 years working with so-called industry standards, which are usually used in a "more or less compliant" way,  or else in a "only the name is the same" way  Roll Eyes
Logged

Searching for Coleman, Moore, Kallnung in London; Margulies, Remenyi in E. Europe;
Ancestors of Hessie Stevenson-Coleman-Baxter (Ireland, 1861)
and, of course, any other ancestors for my web-site http://boco.rootschat.net

All Census Data included in this post is Crown Copyright (see: www.nationalarchives.gov.uk)
downside
RootsChat Aristocrat
******
Offline Offline

Posts: 2459


Make my day


WWW
Re: W3C website validation ... discussion
« Reply #11 on: Saturday 13 January 07 11:36 GMT (UK) »

Maybe this is a new topic (Quirkiness of Browsers) but it relates to how different browsers react to coding errors.

I made a mistake in coding a page by writing &nbsp (non-breakable space) instead of   - in other words I omitted the semi-colon at the end.

I.E.7 displayed: Fred Joseph Bloggs
FireFox displayed: Fred&nbspJoseph&nbspBloggs

So I.E.7 decided I really meant   and put a non-breakable space in. FireFox displayed the result as literal text.

REMEDY: correct the code by adding the missing semi-colon and both browsers are happy.

Another discovery.  I make use of JavaScript and document.write a great deal on my pages.  I observed that FireFox issues a warning every time a / appears e.g.

document.writeln('<table border="0"><th align="left" width="250">Name</th><th align="left" width="150">Birth date</th><th align="left" width="150">Death date</th>');

So what I have to do to make FireFox happy is to escape each forward slash with a backslash: like so:

document.writeln('<table border="0"><th align="left" width="250">Name<\/th><th align="left" width="150">Birth date<\/th><th align="left" width="150">Death date<\/th>');

REMEDY: By escaping each / both browsers are happy, although I.E.7 was happy in the first palce.

Maybe we could start a knowledge base on how we have overcome browser quirkiness?

downside



Logged

Sussex: Floate, West
Kent: Tuffee
Cheshire: Gradwell
kerryb
RootsChat Marquessate
********
Offline Offline

Posts: 9207



WWW
Re: W3C website validation ... discussion
« Reply #12 on: Saturday 13 January 07 11:47 GMT (UK) »

Perhaps that's because Firefox is better at not always making assumptions!!!!

Kerry  Grin
Logged

Census information Crown Copyright, from www.nationalarchives.gov.uk

Searching for my family - Baldwin - Sussex, Middlesex, Cork, Pilbeam - Sussex, Harmer - Sussex, Terry - Surrey, Kent, Rhoades - Lincs, Roffey - Surrey, Traies - Devon & Middlesex & many many more to be found on my website .... www.kerrysfamilyhistory.co.uk
downside
RootsChat Aristocrat
******
Offline Offline

Posts: 2459


Make my day


WWW
Re: W3C website validation ... discussion
« Reply #13 on: Saturday 13 January 07 12:14 GMT (UK) »

I guess everyone knows when they have bad code because the page does not load or it does not load properly.  All the W3C validator does is tell you whether your code conforms to their standard.  The reason why so many RootsChat freespace sites to not conform is because of the COUNTER code, not just RootsChat counter code but others as well.

<SCRIPT LANGUAGE="JavaScript1.2" SRC="./assets/rollover.js"></SCRIPT>

All elements should be in lower case:
<SCRIPT> should be <script>

Language= is now deprecated:
LANGUAGE="JavaScript1.2"

it should be:
<script type="text/javascript">

It is up to the software companies to sort out, so drop them an email some time.

downside
Logged

Sussex: Floate, West
Kent: Tuffee
Cheshire: Gradwell
gbaynes
RootsChat Member
***
Offline Offline

Posts: 121



WWW
Re: W3C website validation ... discussion
« Reply #14 on: Saturday 13 January 07 18:15 GMT (UK) »

The first line of an HTML file should be the doctype

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">

or something similar
I say it should be but in fact it doesn't have to be there at all.

It's only purpose is to tell the validator to which standard you have written your html code.

The validator merely checks to see whether you are telling the truth. And then points out all those areas where you have erred.

Some browsers also take note of the doctype but I think this is more for the error flagging than for the interpretation of the code.

deprecated code - I don't know of any browser which has stopped decoding any deprecated elements. But they have been deprecated for a reason and you should think how you will replace them for the future.

There are also things in the specifications which derive from the accessibility rules, like each graphic has to have an alt="" parameter.

In all the times I have used a validator, I have never found it to be unworthwhile. Missing /div , invalid parameter , whatever the error, it is worth it to chase down each one and fix it.

The validator makes it so easy, showing you where each fault is.

George

You cannot rely on IE to fix all your mistakes for ever.
Logged
Pages: [1] 2 3 Print 
« previous next »


[Copyright] [Free RootsChat Webspace] [Your Surname Interests] [Shrink Link] [About Us] [Terms of Use]
All Census Lookups are Crown Copyright, National Archives for academic and non-commercial research purposes only
RootsChat.com cannot be held responsible directly or indirectly for the messages or content posted by others. Inline images in messages are the copyright of the respective linked sites.
RootsChat.com, Europa House, Bury, Lancashire, BL9 5BT
0.318:22