XHTML overrunning HTML

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

XHTML overrunning HTML

Post by Joe »

Recently I have been learning a fair bit of XHTML and CSS but im left thinking something which I am unable to find the answer to. I have read everywhere that XHTML is aimed to over run HTML but will it or has it even started yet? Im not sure if this would be possible until the new computer evolution has started. Whats your opinions on XHTML taking over HTML and do you think it will ever happen?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

most sites could move to it without anyone noticing.. most browsers that I've seen are already compatible with it, for the most part.
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

Yeah you are right there but now that HTML is in the lead I think it would be very hard if not impossible for everyone to obey the rules of XHTML only. It is like taking a burger from an overweight person and telling them to eat lettuce is my opinion. However, I think XHTML should be left for the experts/hobbyists to clean up there codes.
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

Well i think xhtml produces smaller, cleaner code and is more likely to be x-browser compatable and will overtake in the future, and in all honesty its not that different from html.
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

It really isn't, it's like I've seen a million times, xHTML just adds 10 more errors to the 30 you already had when you validated your HTML ;)

I like using it however, standards are good. Saves lots of headaches when you have to say "why is it there and not there?" every 20 minutes when testing your site on different systems/browsers..
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

and in all honesty its not that different from html.
Your right there kettle_drum. It is just a case of closing everything, using lowercase characters within tags, setting up doctypes etc... I learned hell of a lot on XHTML since this post and comparing an html page from an xhtml page shows very little difference. I am going to continue experimenting with xhtml as the codes produced are very clean.

Along with the fun of learning XHTML it can help me with other things like RSS which is an advantage to my current working skills.

Thanks for everyones great reply, it gave me more of an understanding to the situation :)
xml
Forum Newbie
Posts: 3
Joined: Thu Aug 05, 2004 6:10 am

Post by xml »

and in all honesty its not that different from html.
Agreed. XHTML is more or less a form of HTML in XML valid syntax. XHTML tries to seperate content from data more too, making a case for increased use of CSS. The is great because file sizes are reduced.
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

The is great because file sizes are reduced.
I personally think thats wrong with xhtml as people can easily get away with writing small amounts of code in html due to non-closing tags etc whereas xhtml requires all of these tags, document type definitions etc...
Post Reply