Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1574 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Standards & Validity

Thread title: Standards & Validity
Closed Thread  
Page 1 of 3 1 2 3 >
    Thread tools Search this thread Display Modes  
04-27-2005, 05:12 PM
#1
Anthony is offline Anthony
Status: Sin Binner
Join date: Jul 2004
Location: Yorkshire Coast - UK
Expertise:
Software:
 
Posts: 5,911
iTrader: 29 / 91%
 

Anthony is on a distinguished road

Send a message via MSN to Anthony

  Old  Standards & Validity

Ok, so we all code standards-compliant and valid code, but who actually takes the time to code within these guidelines?

I try to code valid web pages using XHTML (tables) and CSS 2.0 syntax, or if requested by the customer, HTML 4.1 Transitional (rather than XHTML).

I'm just curious to know who honestly believes in web standards, and practises these ways when coding.

04-27-2005, 05:21 PM
#2
Stephen is offline Stephen
Status: Sin Binner
Join date: Jan 2005
Location: Great Britain
Expertise:
Software:
 
Posts: 1,106
iTrader: 0 / 0%
 

Stephen is on a distinguished road

Send a message via AIM to Stephen Send a message via MSN to Stephen

  Old

I use xhtml and CSS only for features that are not available with some coding. Like the text boxes, using images on the edges. I don't normally care if its not valid but if its for a business site I care a bit.

04-27-2005, 05:38 PM
#3
Jonny is offline Jonny
Status: Member
Join date: Feb 2005
Location: UK
Expertise:
Software:
 
Posts: 335
iTrader: 0 / 0%
 

Jonny is on a distinguished road

  Old

I naturally code my websites with correct XHTML 1.1, just got used to it I guess.

04-27-2005, 05:51 PM
#4
Anthony is offline Anthony
Status: Sin Binner
Join date: Jul 2004
Location: Yorkshire Coast - UK
Expertise:
Software:
 
Posts: 5,911
iTrader: 29 / 91%
 

Anthony is on a distinguished road

Send a message via MSN to Anthony

  Old

Do you get many customers who especially request it?

Do you think that they care whether their site is coded valid / standards compliant?

Or do they want something that just works?

04-27-2005, 06:31 PM
#5
jamesyfx is offline jamesyfx
Status: Member
Join date: Jan 2005
Location: Manchester
Expertise: Design
Software: TextEdit
 
Posts: 1,009
iTrader: 0 / 0%
 

jamesyfx is on a distinguished road

Send a message via MSN to jamesyfx

  Old

I code in the latest.

I think people just want something that works, but the way I do things it works both ways.

04-27-2005, 06:57 PM
#6
Koobi is offline Koobi
Koobi's Avatar
Status: Member
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 312
iTrader: 0 / 0%
 

Koobi is on a distinguished road

  Old

Sites I create are either a variation of XHTML 1.0 (except frameset) or XHTML 1.1 with CSS2 obviously.

Not only do I keep it valid but I also make sure it makes as much semantic sense as possible. Meaning I dont use tables to hold images, I use header tags/lists where appropriate, etc.

04-27-2005, 07:24 PM
#7
Anthony is offline Anthony
Status: Sin Binner
Join date: Jul 2004
Location: Yorkshire Coast - UK
Expertise:
Software:
 
Posts: 5,911
iTrader: 29 / 91%
 

Anthony is on a distinguished road

Send a message via MSN to Anthony

  Old

Very structured Koobie.

I'm trying to find some time to read through the book I bought from Sitepoint, Coding Tableless Designs, using CSS.

Apparantley CSS designs can be parsed better by browsers?

04-28-2005, 03:12 AM
#8
Koobi is offline Koobi
Koobi's Avatar
Status: Member
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 312
iTrader: 0 / 0%
 

Koobi is on a distinguished road

  Old

Originally Posted by Anthony
Apparantley CSS designs can be parsed better by browsers?
Depends on the browser. For the web browser, it's more or less the same. For a handheld device or some device for disabled people, tableless layouts will be better...but of course, if you have tabular data you SHOULD USE TABLES. Tables are meant for tabular data, not images.

The most important factor is that search engines parse tableless layouts better. A search engine would parse a table expecting to find tabular data, instead it finds images, that's time wasted.

04-28-2005, 08:21 AM
#9
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

These are some reasons why you should Validate your code:

1. It Helps Cross-Browser, Cross-Platform and Future Compatibility

Although you may be able to create a web page that appears to work on your favourite browser (whatever that may be), your page may contain HTML errors (or CSS errors) that do not show up with that browser due to an existing quirk or bug. Another person using a different browser that does not share that particular bug will wind up viewing a page that does not show up correctly. It is also possible that later versions of your browser will fix that bug, and your page will be broken when people use the latest incarnation of the browser.

Coding your pages so that it is correct without errors will result in pages that are more likely to work across browsers and platforms (ie, different systems). It is also a form of insurance against future versions of browsers, since all browsers aim towards compliance with the existing HTML and CSS standards.

2. Search Engine Visibility

When there are errors in a web page, browsers typically try to compensate in different ways. Hence some browsers may ignore the broken elements while others make assumptions about what the web designer was trying to achieve. The problem is that when search engines obtain your page and try to parse them for keywords, they will also have to make certain decisions about what to do with the errors. Like browsers, different search engines will probably make different decisions about those errors in the page, resulting in certain parts of your web page (or perhaps even the entire page if your error is early in the page) not being indexed.

The safest way, it is held, is to make sure that your web page validates error-free. That way, there is no dispute about which part of your page should be scanned for keywords and the like.

3. Professionalism

Even if you test your web site with all the various browsers in existence on all the platforms in use (Mac, Linux, Windows, FreeBSD, etc) and find that it works perfectly in all, errors in your site reflect poorly on your skill as a web developer.

The issue is two-fold: firstly, a poorly coded web page reveals that either the web designer does not know his stuff or is a sloppy worker; secondly, it affects his marketability.

04-28-2005, 06:18 PM
#10
Koobi is offline Koobi
Koobi's Avatar
Status: Member
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 312
iTrader: 0 / 0%
 

Koobi is on a distinguished road

  Old

Originally Posted by Julian
while others make assumptions about what the web designer was trying to achieve.

IE is famous for this. The moment it notices that you don't have a doctype (assuming you don't), it will render in Quirks mode, meaning it will try to "fix" your code but more often than not, it does more damage.

Closed Thread  
Page 1 of 3 1 2 3 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed