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

Xhtml strict 1.0 vs xhtml 1.1

Thread title: Xhtml strict 1.0 vs xhtml 1.1
Closed Thread    
    Thread tools Search this thread Display Modes  
11-02-2007, 01:39 PM
#1
Gleb is offline Gleb
Status: I'm new around here
Join date: Nov 2007
Location:
Expertise:
Software:
 
Posts: 3
iTrader: 0 / 0%
 

Gleb is on a distinguished road

  Old  Xhtml strict 1.0 vs xhtml 1.1

Which one is better? XHTML STRICT 1.0 or XHTML 1.1
_________________
hidden objects game Medela Breast Pump

11-02-2007, 02:06 PM
#2
Seb is offline Seb
Seb's Avatar
Status: Watermelon Man
Join date: Nov 2006
Location: London
Expertise:
Software:
 
Posts: 3,312
iTrader: 36 / 100%
 

Seb is on a distinguished road

  Old

Neither are 'better'. xHTML 1.1 (I'm assuming you mean Transitional) is simply a revised version of xHTML Transitional 1.0, but it does not use the strict syntax. The strict syntax will still be the more well-formed way to write xHTML.

11-02-2007, 02:32 PM
#3
JochenVDV is offline JochenVDV
JochenVDV's Avatar
Status: I'm new around here
Join date: Oct 2007
Location: Belgium
Expertise:
Software:
 
Posts: 18
iTrader: 0 / 0%
 

JochenVDV is on a distinguished road

Send a message via MSN to JochenVDV Send a message via Skype™ to JochenVDV

  Old

It's better to use xHTML 1.0 than xHTML 1.1, as xHTML 1.1 isn't fully supported yet by all browsers.

11-02-2007, 07:19 PM
#4
Dark_Prince11 is offline Dark_Prince11
Status: Member
Join date: Apr 2007
Location: Deer Park, NY
Expertise:
Software:
 
Posts: 123
iTrader: 0 / 0%
 

Dark_Prince11 is on a distinguished road

Send a message via AIM to Dark_Prince11 Send a message via MSN to Dark_Prince11

  Old

Originally Posted by JochenVDV View Post
It's better to use xHTML 1.0 than xHTML 1.1, as xHTML 1.1 isn't fully supported yet by all browsers.
That is incorrect. XHTML 1.1 is supported by all recent major browsers, including Firefox, Opera, Safari, Camino and Internet Explorer. The issue is how the browsers render the HTML differently due to the different engines they are based off of. However, if you set a strict doc-type, the browsers tend to follow the rules set by W3C. Both are good, XHTML 1.0 is a bit older version of the syntax and it is a tad bit harder to code in XHTML 1.1, especially if you're coming from Transitional XHTML 1.0.

11-02-2007, 07:36 PM
#5
Jmz is offline Jmz
Status: Member
Join date: Jun 2007
Location: Newcastle, UK
Expertise:
Software:
 
Posts: 245
iTrader: 7 / 100%
 

Jmz is on a distinguished road

Send a message via MSN to Jmz

  Old

Theres not strict or transitional for XHTML 1.1 its just XHTML 1.1.

The doctype would look like:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
I use XHTML 1.1 now and to be honest I haven't noticed much difference between XHTML 1.0 Strict and XHTML 1.1

11-08-2007, 04:25 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

according to the W3, the main differences are;


The differences can be summarized as follows:

1. On every element, the lang attribute has been removed in favor of the xml:lang attribute (as defined in [XHTMLMOD]).
2. On the a and map elements, the name attribute has been removed in favor of the id attribute (as defined in [XHTMLMOD]).
3. The "ruby" collection of elements has been added (as defined in [RUBY]).

11-12-2007, 05:57 PM
#7
viciozo is offline viciozo
Status: Member
Join date: Nov 2007
Location: /home/viciozo
Expertise:
Software:
 
Posts: 104
iTrader: 5 / 100%
 

viciozo is on a distinguished road

Send a message via MSN to viciozo

  Old

I have to say, I don't know if I'm correct. When I code I prefer to use Strict 1.0. The thing is Strict 1.0 makes the element different to Transitional. When I do Transitional my CSS works perfect, but when I make it strict everything moves. Never knew why's this...

I'd rather go with Transitional to start with and Strict when you're more advanced.

~Mauro

Closed Thread    


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