View previous topic :: View next topic |
Author |
Message |
Arctic -
Joined: 24 Sep 2004 Posts: 560
|
Posted: Fri Jun 08, 2007 11:54 pm Post subject: Abyss Website Study |
|
|
Seeing as Abyss is a web server, I thought it would be neat to take a look at how current standards are applied to the websites that are hosted on Abyss. My answer was kind of unexpected: badly. A far majority of the websites that are being hosted fail to validate, were never built with validation in mind, or outright omitted important aspects of their websites (DOCTYPES were frequently left lying).
Of those whom used XHTML as their DOCTYPE (Strict being a popular favor), most (if not all) were served as text/html. This means that most websites were not even fully taking advantage of XHTML, and parsers didn't go off and brake their websites with the usual XML "Oops your site just exploded" error, and often failed to validate through oversights (not including ALT tags, failing to properly enclose attribute values in quotation marks). Despite using XHTML, deprecated and/or bad practice were used in the creation of the websites (inline frames).
At least one website that was checked had caused the validator to cry in pain, and say "Sorry! This document could not be checked!" due to invalid characters being used for the character set.
Semantics were disregarded heavily, with data tables often being abused to create layouts. Font elements were regularly employed.
Some pages did not function correctly without Javascript, going so far as broken links.
The most popular language to use on websites was English.
One of the most noted elements was the deprecated <CENTER> element.
Just some notes of mine I got while strolling around. ;) |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jun 09, 2007 12:08 pm Post subject: |
|
|
I come to the point I mentioned in a post a few weeks back...
If a site parses correctly in a number of browsers, who cares?! :-)
Not everyone has days or weeks to spend making their website 100% compliant to the full standards, you will also find that most people do not care as long as their site functions. Me being one of them.
Again this is my opinion but I can expect Ive spoken for a number of people. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sat Jun 09, 2007 2:00 pm Post subject: |
|
|
AbyssUnderground wrote: | ...you will also find that most people do not care as long as their site functions. Me being one of them... |
My JS only ever works in IE. |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jun 09, 2007 2:05 pm Post subject: |
|
|
Tom Chapman wrote: | AbyssUnderground wrote: | ...you will also find that most people do not care as long as their site functions. Me being one of them... |
My JS only ever works in IE. |
Thats probably because you're not coding it properly. EG, using document.element instead of document.getElementById. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sat Jun 09, 2007 2:59 pm Post subject: |
|
|
AbyssUnderground wrote: | Tom Chapman wrote: | AbyssUnderground wrote: | ...you will also find that most people do not care as long as their site functions. Me being one of them... |
My JS only ever works in IE. |
Thats probably because you're not coding it properly. EG, using document.element instead of document.getElementById. |
That's exactly what I'm doing. That's exactly what Mr Snell taught me to do.
Wednesday June 13th: Sir I have a bone to pick with you... |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jun 09, 2007 3:01 pm Post subject: |
|
|
There must be something else you're doing wrong then. I know FF uses different commands for some things. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sat Jun 09, 2007 3:03 pm Post subject: |
|
|
AbyssUnderground wrote: | There must be something else you're doing wrong then. I know FF uses different commands for some things. |
Misinterpretted? I meant he taught me to use "document.element" not "document.getElementById" |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jun 09, 2007 3:05 pm Post subject: |
|
|
I see, well you should use document.getElementById as document.element is an IE only function. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sat Jun 09, 2007 3:07 pm Post subject: |
|
|
AbyssUnderground wrote: | I see, well you should use document.getElementById as document.element is an IE only function. |
:cry: |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1300
|
Posted: Sun Jun 10, 2007 7:18 pm Post subject: |
|
|
AbyssUnderground wrote: | Not everyone has days or weeks to spend making their website 100% compliant to the full standards, you will also find that most people do not care as long as their site functions. |
When re-designing aprelium.com back in 2005 we had to explicitly force the site to not validate on some pages by using some bad HTML/CSS code to have it work with some browsers that are still used by our visitors.
We need at least 1 or another 2 years until we remove these old bits that are only for people using legacy technologies or browsers. _________________ Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com |
|
Back to top |
|
|
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Mon Jun 18, 2007 10:16 pm Post subject: |
|
|
jibbajabba wrote: | i don't think any of my sites are vaildiated but aslong as they all work in internet explorer and firefox then i don't care :) |
If the code is validated properly, the code should work in any standards browser. |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Mon Jun 18, 2007 10:18 pm Post subject: |
|
|
Tom Chapman wrote: | jibbajabba wrote: | i don't think any of my sites are vaildiated but aslong as they all work in internet explorer and firefox then i don't care :) |
If the code is validated properly, the code should work in any standards browser. |
Try telling that to aprelium who had to force it not to validate to work in some browsers ;-) _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Mon Jun 18, 2007 10:19 pm Post subject: |
|
|
AbyssUnderground wrote: | Tom Chapman wrote: | jibbajabba wrote: | i don't think any of my sites are vaildiated but aslong as they all work in internet explorer and firefox then i don't care :) |
If the code is validated properly, the code should work in any standards browser. |
Try telling that to aprelium who had to force it not to validate to work in some browsers ;-) |
Theres several different ways of using code such as CSS, I guess they didn't use the code supported by the majority. |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Mon Jun 18, 2007 10:22 pm Post subject: |
|
|
I remember the first time I coded my site to validate. It worked in only one browser, that was IE. It didn't display in any other browser properly. It was then I decided, who cares if it validates or not, if it works it works and thats all that matters. I doubt anyone will care if some code is right or not so long as it works. Also I think you'll find most professional websites are validated properly either. Makes you think. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Mon Jun 18, 2007 10:35 pm Post subject: |
|
|
AbyssUnderground wrote: | I remember the first time I coded my site to validate. It worked in only one browser, that was IE. It didn't display in any other browser properly. It was then I decided, who cares if it validates or not, if it works it works and thats all that matters. I doubt anyone will care if some code is right or not so long as it works. Also I think you'll find most professional websites are validated properly either. Makes you think. |
When you follow standards, you follow a set of guidelines. I've always had trouble explain why I and others do... Something to be proud of I spose... |
|
Back to top |
|
|
Arctic -
Joined: 24 Sep 2004 Posts: 560
|
Posted: Tue Jun 19, 2007 10:30 pm Post subject: |
|
|
Websites that don't validate because of old, unused browsers make me cry. Internet Exploder 6 has the market share, but most of the problems with MSIE6's CSS rendering can be fixed using conditional comments to supply a second MSIE only stylesheet:
Code: | <!--[if lt ie 8]><link rel="stylesheet" media="screen" href="style.css"><![endif]--> |
AbyssUnderground, one of the reasons for your site currently not validating is because you're using two of the four horsemen of non-validation: topmargin and leftmargin. You're setting the body's margin to "0" using this. This could be done in your inline style sheet (and it is). You're also omitting (apparently, too lazy to check using the DOM inspector or other means) your end tags for some elements (most commonly with your <center> element). Getting your website to display properly using the standards may seem irrelevant, but it is. Just getting the website to validate is half the battle, the other half is making your website's content make sense to something like a machine using semantic code (ul and ol elements for lists, for instance).
Usage of Cascading Style Sheets would make your website infinitely easy to edit if it should ever need to be in the future. Removing deprecated elements and replacing them with their newer relative is also pretty cool.
Most "professional" websites do validate. Most web "professionals" advertise the fact that they make XHTML/CSS/Section 508 valid websites. If you're going to make something on the Interweb, might as well make it properly. ;)
There are all sorts of reasons to follow the standards, but they, like most other things in life, are not immediately apparent. I use them because I know exactly what adhering to the standards means for the Internet and the future, but to someone who doesn't it's just some abstract concept that doesn't matter. That's probably how everyone felt about Cascading Style Sheets. The point is, there is value, it's just hidden. |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Jun 20, 2007 5:41 pm Post subject: |
|
|
The point is, my website works in all common browsers today, so why spend days and hours trying to validate when the hard work of creating a site is already done? _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Arctic -
Joined: 24 Sep 2004 Posts: 560
|
Posted: Wed Jun 20, 2007 7:38 pm Post subject: |
|
|
This was the article that originally got me off of tables (I stopped using tables for layout a while back, but I tied presentation to content still):
http://alistapart.com/articles/journey
For someone who doesn't care much for web design, though, the art of standards probably doesn't matter all too much if it works. :\ |
|
Back to top |
|
|
|