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 1654 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Which one to choose and why?

Thread title: Which one to choose and why?
Closed Thread  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
01-18-2008, 03:28 PM
#1
jabberwocky is offline jabberwocky
jabberwocky's Avatar
Status: Member
Join date: Oct 2005
Location: Calgary, Alberta, Canada
Expertise:
Software:
 
Posts: 278
iTrader: 0 / 0%
 

jabberwocky is on a distinguished road

  Old  Which one to choose and why?

I'm at the beginning of a really large web dev project, and the team I am on are trying to figure which DocType to go with. We will be developing with WC3 best practices along with heavy accessability.

So it seems to me we have the following choices;

HTML 4.01 Transitional
HTML 4.01 Strict

XHTML 1.0 Transitional
XHTML 1.0 Strict
XHTML 1.1

I would prefer to stick to 'Strict', as we will be developing with accessibility in mind and I believe that will ensure we stick to those standards, but I'm not sure. What is the benefit of either one of these over the other? I'm thinking of just going with xhtml 1.0 Strict and be done with it.

01-18-2008, 04:06 PM
#2
LeeP is offline LeeP
Status: Member
Join date: Jan 2007
Location: West Midlands, UK.
Expertise:
Software:
 
Posts: 371
iTrader: 5 / 100%
 

LeeP is on a distinguished road

Send a message via MSN to LeeP

  Old

HTML 4.01 Strict

01-18-2008, 05:27 PM
#3
jabberwocky is offline jabberwocky
jabberwocky's Avatar
Status: Member
Join date: Oct 2005
Location: Calgary, Alberta, Canada
Expertise:
Software:
 
Posts: 278
iTrader: 0 / 0%
 

jabberwocky is on a distinguished road

  Old

How come? I don't understand why html 4.01 Strict would be a better choice than xhtml 1.0 Strict, or xhtml 1.1

01-18-2008, 06:03 PM
#4
Dr John is offline Dr John
Status: Junior Member
Join date: May 2005
Location:
Expertise:
Software:
 
Posts: 77
iTrader: 0 / 0%
 

Dr John is on a distinguished road

  Old

The commonest browsers around do not understand XHTML, so they translate is as html. It is a very common misunderstanding to think that XHTML is the "modern" way to design web sites. There are no advantages to using XHTML. It just has stricter rules about closing all tags

http://24ways.org/2005/transitional-vs-strict-markup
http://accessites.org/site/2006/09/i...-doctypes/#n23
http://www.webmasterworld.com/forum21/6706.htm

Use HTML 4.01 strict.

As Transitional was intended as a half way house to help older web designers used to HTML 3 (!) make the transition to html 4, it should not be used now. It allows you to mix css styling with the deprecated inline formatting from html 3. But as no sensible web designer should be using inline styling and especially deprecated ones, and you can't set the deprecated styles in a css file, then using transitional is a waste of time.

01-18-2008, 08:03 PM
#5
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old

XHTML 1.0 Strict

Yes, some browsers don't understand the correct usage of XHTML, but although it is parsed as HTML, the XHTML (which is better structured as it's based on XML) will give far cleaner and more understandable code even if read by some browsers as HTML.

XHTML 1.1 isn't adopted well enough to really start using it yet.

01-18-2008, 08:45 PM
#6
jabberwocky is offline jabberwocky
jabberwocky's Avatar
Status: Member
Join date: Oct 2005
Location: Calgary, Alberta, Canada
Expertise:
Software:
 
Posts: 278
iTrader: 0 / 0%
 

jabberwocky is on a distinguished road

  Old

right on, good info. thanks! I'll be suggesting html 4.01 Strict then I think.

01-18-2008, 11:16 PM
#7
minus19 is offline minus19
Status: I'm new around here
Join date: Jan 2007
Location:
Expertise:
Software:
 
Posts: 19
iTrader: 0 / 0%
 

minus19 is on a distinguished road

  Old

HTML 5 is due 'out' soon anyway. It makes little difference to the end user as long as it's valid, remember that when you get doctype errors

01-21-2008, 04:10 PM
#8
jabberwocky is offline jabberwocky
jabberwocky's Avatar
Status: Member
Join date: Oct 2005
Location: Calgary, Alberta, Canada
Expertise:
Software:
 
Posts: 278
iTrader: 0 / 0%
 

jabberwocky is on a distinguished road

  Old

when you say soon...is that like 5 years from now soon? I've been waiting for CS3 for what seems like years now (same with html 5).

01-21-2008, 04:36 PM
#9
minus19 is offline minus19
Status: I'm new around here
Join date: Jan 2007
Location:
Expertise:
Software:
 
Posts: 19
iTrader: 0 / 0%
 

minus19 is on a distinguished road

  Old

Probably, yes. I'm just seeing a lot more about it. Looks good though for instance we'll get tags like:

<header></header>
<content></content>
<inset></inset> (sidebar they mean)

It's going to annoy a lot of people though, so many folk are still learning CSS 2.

01-21-2008, 04:48 PM
#10
Dr John is offline Dr John
Status: Junior Member
Join date: May 2005
Location:
Expertise:
Software:
 
Posts: 77
iTrader: 0 / 0%
 

Dr John is on a distinguished road

  Old

HTML5

The new TAGS are semantically accurate NAMES for their intended purpose - to hold content that you wish to refer to as header text, footer text, address text. etc.

HOW you position them on the page and style them will still be done by CSS. Using a <header> or <content> tag will not result in it replacing the css rules that you use to position things on the page.

How will you define the background colour for <header>? Using CSS.
How will you define the borders for <header>? Using CSS.
How will you define the width for <header>? Using CSS.
Min-width? Max-width? Background image? Floated?

And so on.

Give them another two years or so to finalise the working draft, to release it as a spec.
Give the browsers another two years to adopt the rules. All the rules might take longer.
Give the users another two - three years to upgrade their browsers.

Then start using it.

Pencil in 1st January 2015 as HTML5 day !

Closed Thread  
Page 1 of 2 1 2 >


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