dunkov47 Posted November 14, 2009 Share Posted November 14, 2009 haa had this as an exam question.... i couldnt answer it.. i was shattered.. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-957460 Share on other sites More sharing options...
Cardale Posted January 3, 2010 Share Posted January 3, 2010 more robust? Do you even know what the means? Not really. It is a waste of time is what it is. XHTML and HTML are the same. If some one wants to use a div or a table makes no difference. The only difference is if the browser is going to make it look the way you like. This should be the only use for XHTML if any, but most browsers nowadays without XHTML do this fine. If some one is using an old browser who cares. It is probably an old lady who doesn't care what your site looks like.  Has anyone noticed that most of the most popular websites on the net don't give a damn about XHTML standards? YouTube for example doesn't even give you valid code to embed on its site.  Stop wasting time on pointless things. Do something really innovative. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-987558 Share on other sites More sharing options...
Daniel0 Posted January 3, 2010 Share Posted January 3, 2010 XHTML and HTML are the same. Â Have you read the topic? I mean all the posts from page 1 to page 7. Have you read the W3C specifications? Â If some one is using an old browser who cares. Â IE8 is an old browser. It doesn't support XHTML at all. Of course you would have known that if you read the topic. Â Stop wasting time on pointless things. Â Who is wasting their time? If you think this topic is a waste of time, then why are you participating in it? My interest in these kind of things is academic. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-987563 Share on other sites More sharing options...
Cardale Posted January 3, 2010 Share Posted January 3, 2010 XHTML and HTML are the same.  Have you read the topic? I mean all the posts from page 1 to page 7. Have you read the W3C specifications?  If some one is using an old browser who cares.  IE8 is an old browser. It doesn't support XHTML at all. Of course you would have known that if you read the topic.  Stop wasting time on pointless things.  Who is wasting their time? If you think this topic is a waste of time, then why are you participating in it? My interest in these kind of things is academic.  Tough crowd. I can see you put some thought into my post.  What ever man keep wasting your time on HTML standards then. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-987623 Share on other sites More sharing options...
Daniel0 Posted January 3, 2010 Share Posted January 3, 2010 Sure thing. If you can't attack the man's arguments, go for the man instead. Sounds like a viable rhetorical strategy. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-987626 Share on other sites More sharing options...
Mchl Posted January 3, 2010 Share Posted January 3, 2010 Works everytime. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-987631 Share on other sites More sharing options...
webmaster1 Posted January 9, 2010 Share Posted January 9, 2010 Sure thing. If you can't attack the man's arguments, go for the man instead. Sounds like a viable rhetorical strategy.  You've dished out a few tasty latin argumentative terms in your earlier posts but why not here?: 'argumentum ad hominem'. Add that one to your list Mchl.  Anyway, just wanted to say thanks for the great explanations. I'll be sticking with HTML 4.0 though I'll have to suffer SMF's insistence on the use of XHTML for their 2.0.  I feel totally duped by the lads at W3 schools. Candidly, they got me all hyped up. I was probably two weeks away from buying a geeky XHTML t-shirt. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-991557 Share on other sites More sharing options...
trq Posted January 9, 2010 Share Posted January 9, 2010 I feel totally duped by the lads at W3 schools. Â I'm not sure the w3schools site is very well maintained when it comes to there tutorials / articles. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-991559 Share on other sites More sharing options...
webmaster1 Posted January 9, 2010 Share Posted January 9, 2010 I feel totally duped by the lads at W3 schools. Â I'm not sure the w3schools site is very well maintained when it comes to there tutorials / articles. Â Yeah, it seems that way. Furthermore it was more of a double dupe. I thought that they were the offical W3C lads. Â Good god, those t-shirts I mentioned actually exist: Â Â Â Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-991562 Share on other sites More sharing options...
trq Posted January 9, 2010 Share Posted January 9, 2010 I thought that they were the offical W3C lads. Â I think allot of people get stuck there. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-991565 Share on other sites More sharing options...
Daniel0 Posted January 9, 2010 Share Posted January 9, 2010 There is nothing wrong with XHTML except that Internet Explorer does not support it. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-991644 Share on other sites More sharing options...
Mchl Posted January 9, 2010 Share Posted January 9, 2010 'argumentum ad hominem'. Add that one to your list Mchl.  Oh it's been there for some time already... Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-991675 Share on other sites More sharing options...
webmaster1 Posted January 9, 2010 Share Posted January 9, 2010 There is nothing wrong with XHTML except that Internet Explorer does not support it. Â That's a borderline (perhaps deliberated) oxymoron (i.e. browser usage reports - ahem, 64%) but thanks for surmising XHTML's viability. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-991835 Share on other sites More sharing options...
webmaster1 Posted January 9, 2010 Share Posted January 9, 2010 Oh it's been there for some time already... Â There goes my ingenuity. :'( Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-991837 Share on other sites More sharing options...
ignace Posted January 9, 2010 Share Posted January 9, 2010 'argumentum ad hominem'. Add that one to your list Mchl.  Oh it's been there for some time already...  Care to share those Daniel quotes? I doubt it could come from anyone else Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-991864 Share on other sites More sharing options...
Mchl Posted January 9, 2010 Share Posted January 9, 2010 Started here I guess: http://www.phpfreaks.com/forums/index.php/topic,241805.msg1130146.html#msg1130146 Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-991917 Share on other sites More sharing options...
webmaster1 Posted January 10, 2010 Share Posted January 10, 2010 I know this has probably been answered either directly or indirectly in this thread but I just wanted a more explicit answer: Â If I opt for HTML rather than XHTML what am I potentially missing out on? Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-992320 Share on other sites More sharing options...
Daniel0 Posted January 10, 2010 Share Posted January 10, 2010 If you opt for HTML rather than XHTML then you miss out on being able to declare additional namespaces to allow embedding things like SVG or MathML. However, this is only possible in the first place if you were serving your XHTML pages with the content-type application/xhtml+xml, which Internet Explorer doesn't support. If you were serving them like text/html then they were de jure HTML files and they were regarded as HTML files by the browsers. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-992324 Share on other sites More sharing options...
webmaster1 Posted January 10, 2010 Share Posted January 10, 2010 If you opt for HTML rather than XHTML then you miss out on being able to declare additional namespaces to allow embedding things like SVG or MathML. However, this is only possible in the first place if you were serving your XHTML pages with the content-type application/xhtml+xml, which Internet Explorer doesn't support. If you were serving them like text/html then they were de jure HTML files and they were regarded as HTML files by the browsers. Â So, if I don't need to use XML applications or graphics then I don't really require XHTML. Â Two more questions seeing as how I don't want to leave this topic with any doubt in my mind: Â [*]I like how rigorous XHTML is. If I continue to use it's guidelines in HTML such as the closing of empty elements won't it effect my validation? Is there anything else besides the closed empty elements that will conflict with validation? Â [*]What coding style is most likely to become deprecated first? HTML's, XHTML's, both or neither? Â Â Â Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-992376 Share on other sites More sharing options...
Daniel0 Posted January 10, 2010 Share Posted January 10, 2010 I like how rigorous XHTML is. If I continue to use it's guidelines in HTML such as the closing of empty elements won't it effect my validation? Is there anything else besides the closed empty elements that will conflict with validation? Â Well, seeing as HTML is a subset of SGML and not XML, there is no such thing as an unclosed element. It's technically incorrect doing things like <br /> in HTML. That's just not how the language works. Â I'm not really sure I understand the argument though. It's like saying PHP's foreach syntax is incorrect just because it's different in Java. Two different languages, two different syntaxes. Â What coding style is most likely to become deprecated first? HTML's, XHTML's, both or neither? Â Hopefully you'll have gathered from this topic that the difference is not just a matter of "style". Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-992383 Share on other sites More sharing options...
webmaster1 Posted January 10, 2010 Share Posted January 10, 2010 Hopefully you'll have gathered from this topic that the difference is not just a matter of "style". Â You're right, I have. It's a matter of function. Not style. Â I've been wading through murky waters on this for the past evening or two though. XHTML is being pitched as a correct style of HTML coding rather than as a correct style of html coding for a specific subset of functions for which you might not have a need. Even W3schools seem to be ambiguously advocating it this way or at the very least that seems to be a consensus amongst coders. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-992391 Share on other sites More sharing options...
Daniel0 Posted January 10, 2010 Share Posted January 10, 2010 That's because most people haven't bothered doing the research and keep confirming each other in their flawed views. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-992392 Share on other sites More sharing options...
haku Posted January 18, 2010 Share Posted January 18, 2010 I agree. There is nothing at the moment that sets XHTML as better than HTML if you are serving the document as text/html. So if you are serving the document as text/html, it becomes purely a matter of style. If you want to use an HTML doctype, use an HTML doctype. If you want to use an XHTML doctype, use an XHTML doctype. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-997029 Share on other sites More sharing options...
Cardale Posted January 21, 2010 Share Posted January 21, 2010 I agree. There is nothing at the moment that sets XHTML as better than HTML if you are serving the document as text/html. So if you are serving the document as text/html, it becomes purely a matter of style. If you want to use an HTML doctype, use an HTML doctype. If you want to use an XHTML doctype, use an XHTML doctype.  It isn't that. It is the fact that people don't want to follow some stupid religion of HTML standards. Make HTML work and then make the browsers work. At this point leave it alone. I think that should do the trick. W3C Schools will keep on making "new" changes because if it doesn't it will loose its "authority". Do you understand this? Are there any other HTML standards being created? Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-999178 Share on other sites More sharing options...
Mchl Posted January 21, 2010 Share Posted January 21, 2010 W3C Schools != W3CÂ Â W3C's authority doesn't come from the fact it introduces any changes. It comes from the organisations that form it. Â And the ''new' changes' are not introduced just for the sake of it. They're introduced because industry demands them. Quote Link to comment https://forums.phpfreaks.com/topic/148204-html-xhtml-any-difference/page/5/#findComment-999198 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.