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

To use xHTML or HTML?

Thread title: To use xHTML or HTML?
Closed Thread  
Page 1 of 4 1 2 3 4 >
    Thread tools Search this thread Display Modes  
06-17-2006, 04:43 PM
#1
Techno is offline Techno
Techno's Avatar
Status: Sin Binner
Join date: Jul 2005
Location: Yorkshire, UK
Expertise:
Software:
 
Posts: 3,709
iTrader: 1 / 100%
 

Techno is on a distinguished road

  Old  To use xHTML or HTML?

Sitepoint recently wrote an article about this and the main part was


That depends on who you ask. There are a number of technical issues with this question, which preclude a simple and short answer. In reality, the latest W3C recommendation with widespread support is HTML 4.01. Unless you actually need any of the features that XHTML offers over HTML, there is no technical reason to use XHTML.

In order to actually benefit from using XHTML, you really need to understand the fundamental differences between XHTML and HTML. Such a site will only be available to a small minority of the surfing population, however.

Some web designers and developers prefer XHTML's syntax rules over HTML's. By following certain guidelines, you can use this syntax without technically using XHTML at all (see below). There are a number of potential pitfalls with this approach, but it is a possible way forward for those who absolutely want to type <br /> instead of <br>.

For 'future-proofing' your documents, using a Strict doctype is more important than whether you use XHTML or HTML.
I always use xHTML strict simply because most clients want that, how about you guys?

06-17-2006, 04:44 PM
#2
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

It'll be a long time before I move away from my XHTML 1.0 Strict doctype.

06-17-2006, 04:50 PM
#3
Jen is offline Jen
Status: Member
Join date: Dec 2004
Location: Australia
Expertise:
Software:
 
Posts: 413
iTrader: 0 / 0%
 

Jen is on a distinguished road

  Old

Yes I do use xhtml and doctype is important too.

06-17-2006, 05:06 PM
#4
Mount Tropolis is offline Mount Tropolis
Status: Junior Member
Join date: Jun 2006
Location:
Expertise:
Software:
 
Posts: 56
iTrader: 0 / 0%
 

Mount Tropolis is on a distinguished road

Send a message via AIM to Mount Tropolis Send a message via MSN to Mount Tropolis

  Old

xHTML strict because its more effiecent, cleaner and easier to look at .

06-17-2006, 05:11 PM
#5
Techno is offline Techno
Techno's Avatar
Status: Sin Binner
Join date: Jul 2005
Location: Yorkshire, UK
Expertise:
Software:
 
Posts: 3,709
iTrader: 1 / 100%
 

Techno is on a distinguished road

  Old

But we all know what we write isn't really xHTML?

06-17-2006, 06:59 PM
#6
Mount Tropolis is offline Mount Tropolis
Status: Junior Member
Join date: Jun 2006
Location:
Expertise:
Software:
 
Posts: 56
iTrader: 0 / 0%
 

Mount Tropolis is on a distinguished road

Send a message via AIM to Mount Tropolis Send a message via MSN to Mount Tropolis

  Old

And how is that?

06-17-2006, 07:53 PM
#7
northpark is offline northpark
northpark's Avatar
Status: I'm Spamming
Join date: Sep 2005
Location: Americawww
Expertise:
Software:
 
Posts: 3,963
iTrader: 0 / 0%
 

northpark is on a distinguished road

Send a message via MSN to northpark

  Old

I know them both, it depends on what the client wants.

06-17-2006, 07:57 PM
#8
Techno is offline Techno
Techno's Avatar
Status: Sin Binner
Join date: Jul 2005
Location: Yorkshire, UK
Expertise:
Software:
 
Posts: 3,709
iTrader: 1 / 100%
 

Techno is on a distinguished road

  Old

Originally Posted by Mount Tropolis
And how is that?
Well the fact the only way to use it properly is to save it as .xhtml and that IE6 dosen't support XHTML?

06-17-2006, 07:57 PM
#9
majorglory is offline majorglory
Status: Senior Member
Join date: Jun 2006
Location:
Expertise:
Software:
 
Posts: 848
iTrader: 10 / 100%
 

majorglory is on a distinguished road

  Old

^ o werd?

anyways XHTML for me :]

06-17-2006, 08:22 PM
#10
Mount Tropolis is offline Mount Tropolis
Status: Junior Member
Join date: Jun 2006
Location:
Expertise:
Software:
 
Posts: 56
iTrader: 0 / 0%
 

Mount Tropolis is on a distinguished road

Send a message via AIM to Mount Tropolis Send a message via MSN to Mount Tropolis

  Old

i never knew that lol, thanks.

Closed Thread  
Page 1 of 4 1 2 3 4 >


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

  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