Daniel isn't THAT good I am thinking
"The Universe is run by the complex interweaving of three elements: energy, matter, and enlightened self-interest." G'Kar-B5
Malware and Threads
|
Daniel isn't THAT good I am thinking
"The Universe is run by the complex interweaving of three elements: energy, matter, and enlightened self-interest." G'Kar-B5
ETA: Aractus, have you heard of the Dunning-Kruger effect?
http://www.youtube.com/watch?v=XyOHJa5Vj...w&index=19 RE: Malware and Threads
December 18, 2012 at 9:46 am
(This post was last modified: December 18, 2012 at 9:48 am by Tiberius.)
No, XHTML is actually more accurately defined as both XML and HTML. It uses XML structure, but HTML elements. In XML, you can have any tag as a root node; in XHTML, you have to use <html>, for instance.
You can create new elements in XHTML, but it isn't recommended, and is not really supported in browsers unless you supply your own definitions for those elements. I know a lot about XHTML; I've coded in it for years. It loads faster because browsers can use XML parsers rather than HTML parsers, which require more checks, but it's no different in terms of what you can do, and these days the speed is probably not even noticeable by the average user anyway. Going by the first line, one would assume it is just XML, sure. However, if you look down a few lines more, you'll find that it is obviously HTML as well: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" The DOCTYPE is "html", and more specifically "XHTML Transitional". The first tag (the root tag) is <html>. The next tag opens up a HTML header (<head>) which contains <script> tags (HTML specific) and <meta> tags (HTML specific). Indeed, the <meta> tag even lists the "Content-Type" as "text/html". XHTML is a type of HTML as much as it is a type of XML. Effectively, it is the HTML language in an XML format. RE: Malware and Threads
December 18, 2012 at 9:48 am
(This post was last modified: December 18, 2012 at 9:50 am by LastPoet.)
(December 18, 2012 at 9:48 am)LastPoet Wrote:(December 18, 2012 at 9:44 am)KichigaiNeko Wrote: Daniel isn't THAT good I am thinking This is my current appraisal. I am NOT THAT IT savvy but I do know some stuff. Strutting "one's-stuff" is viewed as a sign of incompetence for me "The Universe is run by the complex interweaving of three elements: energy, matter, and enlightened self-interest." G'Kar-B5
(December 18, 2012 at 9:51 am)KichigaiNeko Wrote: This is my current appraisal. I am NOT THAT IT savvy but I do know some stuff. I am OK accepting Tibbers expertise on web based security stuff, it is his niche after all, he studied for that, and I'm sure it wasn't cheap. Yet, Aractus comes here trotting around IE being a good browser, its been +10 years since anyone less than stupid thinks it is. I've made a buck and a half just by turning it off for people, its a fucking cancer. It doesn't follow standards, it wants all for itself, it is utterly fallible to the stupidiest of script-kiddies. Yet he keeps harping like a pig wearing the finest of robes. Gah. RE: Malware and Threads
December 18, 2012 at 10:05 am
(This post was last modified: December 18, 2012 at 10:10 am by Aractus.)
The purpose of XHTML is to be a reformulation of HTML. You can't just add the XHTML doctype tag into any HTML document and expect it to behave correctly. This is what 99% of developers do, and all it does it make an HTML 4 document with the wrong doctype. But this you know. XML speed is important for more limited devices like smartphones. I'll also point out that it consumes less memory than the same HTML document does. In a way I see HTML 5 as a huge step backwards when we could have simply moved forward with XHTML if people had actually known how to use it. The compatibility issues are far less than with traditional HTML.
Why don't I show you something a little more complicated: PHP Code: <? I can change this: Code: $conttype='application/xhtml+xml'; Code: $conttype='application/xml'; Code: $conttype='text/html';
Oh gawd
(December 18, 2012 at 10:05 am)Aractus Wrote: The purpose of XHTML is to be a reformulation of HTML.This strikes me as a complete contradiction to what you said earlier: Aractus Wrote:XHTML is XML (it isn't HTML). Quote:You can't just add the XHTML doctype tag into any HTML document and expect it to behave correctly.True, but then again you can't just add the XHTML doctype to any XML document and expect it to behave correctly or even validate either. Observe: http://atheistforums.org/valid-xml.xml (Perfectly valid XML) With an XHTML doctype: http://atheistforums.org/invalid-xhtml.html (Completely invalid XHTML) Even your scheme validator rejects it: http://schneegans.de/sv/?url=http://athe...xhtml.html Quote:XML speed is important for more limited devices like smartphones. I'll also point out that it consumes less memory than the same HTML document does.Yup, but then again, smartphones are already fast enough to handle complex websites, and they are only getting faster. It would only be really noticeable on websites that are heavily complex. Quote:In a way I see HTML 5 as a huge step backwards when we could have simply moved forward with XHTML if people had actually known how to use it. The compatibility issues are far less than with traditional HTML.[quote]My point was, if I.E. cared about standards at all, there would be no need for HTML if statements. This was probably best shown with the Acid tests, more specifically, Acid3, which browsers like Chrome, Opera, and Firefox made a real effort to pass, whilst I.E. only passed it for the first time in 2011, and even then, didn't render the image perfectly.
IE8, IE9 and IE10 are all pretty much fine for standards, it's only IE7 and lower that weren't.
Quote:Yup, but then again, smartphones are already fast enough to handle complex websites, and they are only getting faster. It would only be really noticeable on websites that are heavily complex.Indeed, and now we have some really complicated webpages that load noticeably slowly and consume a lot of memory. eBay for instance is a good example. Their website would benefit HUGELY from the use of XHTML. Online stores like Amazon would also benefit (although amazon doesn't load anywhere near as slowly as eBay). |
« Next Oldest | Next Newest »
|