Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - W3C Standards: Are they really important?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

W3C Standards: Are they really important?

 Post Reply Post Reply Page  <12
Author
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 24 December 2006 at 4:17pm
I think the best way is to loose the transitional doctypes that keep browsers in quirks mode and to use HTML 4.01 strict. The W3C validator will point out the major html errors. You wind up with some lean html.

For the vast majority of sites, less than 100 lines of pretty basic CSS are going to be enough. Doing css for body, p, h1-h3, a, ol/ul and td tags covers most of it. Almost anything else is going to be variations of those tags for specific divs on a page. Using % or em units instead of px or pt gives you a lot of device/resolution independence.

I'm not a rabid advocate of never using tables for layout - (e.g. for tabular data only). But most of my sites are css layout - tons of templates available but I use about three basic layouts - 1, 2, and 3 columns with headers and footers. I have them stored in TopStyle Pro - which IMHO, is the CSS Editor.

I started coding in 1970. The only thing constant in my coding has been the learning of new languages, techniques and methodologies. If you don't want to continually learn new things, you're in the wrong business. The world moves on. Hell, Even MS dropped FrontPage in favor of a standards/css based editor.

Regarding Doctypes... Transitional Doctypes were instituted a dozen years ago as a mechanism to aid legacy code to get to standards (Strict Doctype). After 12 years it's time to stop transiting and to actually arrive. Same with CSS. It turns 10 years old this month. Time to be there.

I'm not a big fan of XHTML. Don't see any point to it if the site isn't AJAX or isn't going to use XSL's/XSLT's, or isn't being fed info from external sources.

EDIT: Link for CSS Tables - http://icant.co.uk/csstablegallery/


Edited by dpyers - 24 December 2006 at 4:32pm

Lead me not into temptation... I know the short cut, follow me.
Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Posted: 24 December 2006 at 8:01pm
Great site... thanks for the link Dpyers!!
Back to Top
scottage View Drop Down
Newbie
Newbie


Joined: 20 August 2004
Location: United Kingdom
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote scottage Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2007 at 3:42pm
IMHO there is no choice, xHTML & CSS always; then consideration for all possible visual imparements (contract levels, alternative CSS, etc.) BUT should it always have validate? Well, NO. An example; if you use an embed tag to put flash into your HTML this will not validate because <embed> is not an xHTML tag so to make valid xHTML you just add a script call to write the <embed> tag into the HTML, the ultimate result as seen by your browser is the same but the code with the script WILL validate!
Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 25 January 2007 at 10:19am
I'd also like to add that adhering to the sensible parts of W3C (as already discussed here) also helps you stay within the law here in the UK! Our overseas friends may not realise that we have a disability discrimination law that requires websites be accesable by disabled people. For instance ALT tagging images means their text readers tell them something informative about the image. Decent page layout helps them navigate properly too. Failing to make an accessible site could land you in hot water, though unless you're a particularly mainstream site you could probably get away with it.

Edited by MrMellie - 25 January 2007 at 10:19am
Back to Top
MortiOli View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
Post Options Post Options   Thanks (0) Thanks(0)   Quote MortiOli Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2007 at 2:12pm

MrMellie, I've heard about that before - there was quite a big site that got sued / near to being sued, for not being coded correctly for the visually impared (sp!?)

Back to Top
jeffdaro View Drop Down
Groupie
Groupie


Joined: 15 April 2005
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffdaro Quote  Post ReplyReply Direct Link To This Post Posted: 27 January 2007 at 1:50am
I think the W3C is necessary and important, but if your site presents nicely but is coded like crap...who cares? I understand the whole help the blind surf the internet, and proper code will help your SEO...but IMHO content is king. If you have the content that people want, your site will soar even if it's written on the back of a napkin.

Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.