Jump to content

Talk:XHTML

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Izno (talk | contribs) at 02:54, 25 March 2009 (mid start. feel free to reassess). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing Start‑class Mid‑importance
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-importance on the project's importance scale.

Use of English

"Recommedation Document" is redundant by usage of "recommendation" since there is no other type of "recommendation" from a standards organization. (All "published" or "released" recommendations are published/released as a document. That a document is not the same thing as the ideas it conveys is more of a phisophical truth, than it is a practical point. —Preceding unsigned comment added by 97.122.94.116 (talk) 20:48, 9 December 2008 (UTC)[reply]


Article Quality

By definition I think, HTML precedes XHTML. The proper way to phrase their intercompatability is to say that XHTML is a superset of HTML instead of making an implication that is vice versa. The correct phrasing will state that XHTML is a specific variant of XML; the latter can be used outside of web browsers but HTML is only intended for a browser (or facsimile of a browser). From their, HTML version 1 is backwards compatible with some version of HTML and this is where the relationship -- standardized relattionship -- ends. Any compatibility between newer versions of either is mere coincidenence -- unless W3C doesn't remember what it measn to fork; something I doubt.

"Depth of Expression" has no dictionary meaning and should be removed or replaced. (By the way, "Depth of the Ocean" is clear as is "the ability to express details".)

Firstly, could we archive some of this talk page? A lot of it doesn’t really seem relevant to the current article.

I think this article is in need of some serious attention. There is a lot of information on here which is misleading or inaccurate. I’ve been trying to fix some of it, but there is just so much which needs doing on here. The-mart 10:27, 18 March 2007 (UTC)[reply]

Agreed. This talk page has 88kB now. It would be a good idea to prune it a bit. --- Arancaytar - avá artanhé (reply) 14:05, 19 March 2008 (UTC)[reply]

Archived

I did it. It was my first Archive though, so it should be correct, but it's called /Talk:XHTML/Archive1. Tcardone05 (talk) 04:37, 28 July 2008 (UTC)[reply]

Citations!

I feel like being abusive to the editor who added so many citation needed tags. Some of them seem ridiculous. That's where some pruning is needed. Edetic (talk) 10:54, 21 May 2008 (UTC)[reply]

It would’ve been nice too if they’d actually tried looking for evidence to actually support or disprove a claim rather than just plonking the “citation needed” in, it doesn’t really do anything to improve the quality of this article. :o( Somebody added a “citation needed” to the claim “most web developers avoid using XHTML that isn’t HTML-compatible” under the Adoption section. I figure this is obvious to professional web developers, but not to people generally... so does it actually require a citation? As hard as I’ve looked, I can’t find any real metrics to cite about this (i.e. no-one has done a graph showing that 99.999% of XHTML is sent purely as text/html without any kind of content negotiation). Instead I’ve linked to List of XHTML Sites (the X-Philes); if anyone finds a site that is more quantitative, please feel free to switch it. Hexene (talk) 10:34, 26 August 2008 (UTC)[reply]

Compatibility

This sentence uses "however" to connect two statements that do not seem to contradict each other.

Many issues with compatibility are easily addressed; however, XHTML 2.0 can currently be parsed the same way a user agent would parse XHTML 1.1

Quite confusing. I can't even suggest a better sentence because I have no idea what the sentence says about compatibility.

In addition, the second statement sounds a bit implausible. With such serious changes as adding href and src attributes to all elements, essentially making all elements potential a and img tags at once, wouldn't most user agents have to change logic beyond simply using another DTD with their XML parser? And if the sentence didn't intend to deny that, shouldn't it be clarified? --- Arancaytar - avá artanhé (reply) 14:12, 19 March 2008 (UTC)[reply]

Terminology

After the last edit, a clear explanation of the proper terminology would probably be a good idea. When does the space get in? Is it "HTML5" and "XHTML5", but "HTML 4.0" and "XHTML 1.0"? --- Arancaytar - avá artanhé (reply) 08:41, 25 March 2008 (UTC)[reply]

I think we should use spaces all occurrences. The HTML 5 drafts seem inconsistent, it's "HTML 5" in the title but "HTML5" and "XHTML5" everywhere else, and "XHTML 1.x" yet "XHTML2". Meanwhile the XHTML 2 Working Group usually have spaces in their documents. Hexene (talk) 13:41, 7 August 2008 (UTC)[reply]

Format question

Does anyone know why it is more correct to use "<br />" than "<br/>". I have found or been told about several references that state that there should be a space before the "/>" when ending XHTML statements but none of them say why. I know that "<br>", "</br>", "<br/>" and "<br />" will all technically work (although <br/> and <br /> are directly mentioned as rhe preferred way to be backwards compatible with some things) but I am trying to find out why that space is necessary. Also, does anyone now how the mediawiki server handles these? Does it treat them all as individuals or does it preformat them to a specific thing "<br />" for instance before it renders it?--Kumioko (talk) 20:35, 7 April 2008 (UTC)[reply]

In the XHTML 1.0 spec, appendix C (Compatibility Guidelines) is where <br /> is recommended. That appendix "summarizes design guidelines for authors who wish their XHTML documents to render on existing HTML user agents." At that time, it would've been referring mainly to Netscape 4.x and Internet Explorer 5.x. IIRC, unrecognized tags would be rendered by some old browsers as text, rather than ignored. It's not really an issue anymore.
MediaWiki generally accepts whatever HTML markup you enter without changing it. If you enter a <br> or any of its variations, that's what comes out in the HTML, which translates to line breaks in the rendered result. So, for example, to prevent a bunch of line breaks from appearing in your comment above, I had to wrap them in "nowiki" tags, which tell MediaWiki to convert the angle brackets to entity references in the HTML, so you'll actually see angle brackets in the rendered page. —mjb (talk) 23:19, 7 April 2008 (UTC)[reply]
Thank you, So whether you enter "<br>", "</br>", "<br/>" or "<br />" the Mediaserver treats them all as breaks and doesn't convert them from 1 thing to another, "<br/>" to "<br />" for instance? Last question, as I was editing articles I have been converting all the different breaks to "<br/>" partially for standardization and to be easier to read but aslo because I thought that the mediawiki server was converting "<br />" to "<br/>" so I thought I was actually helping to reduce the drag on the server by reducing the amount of conversions it had to make and to reduce the space by eliminating empty characters. My question in all that was is there any benefit to having "<br />" over "<br/>" or vice versa other than the "recommendations" of a reference that is overcome by events? Thanks again--Kumioko (talk) 17:57, 8 April 2008 (UTC)[reply]
These questions don't have much to do with the article on XHTML; they should probably be asked at Wikipedia:Village pump (technical) or mw:Project:Support desk. I'd start with the village pump. —mjb (talk) 04:17, 9 April 2008 (UTC)[reply]
The space following the element name should be addressed in the article, as it is a departure from normally required XML and is only needed for backwards compatibility. To address this particular discussion, the format '<br/>' is NOT backwards compatible and breaks in at least one of the major browsers (I forget which though I'd guess IE). The space is needed but also introduces a blemish into what strives to be a very clean standard. Erratio (talk) 03:19, 25 January 2009 (UTC)[reply]
For what it's worth, Netscape 4 was the reason for the space in '<br />'. I'm not aware of it being an issue in any "current" browser. Hexene (talk) 19:36, 28 January 2009 (UTC)[reply]

backward compatibility

The article mentions scripting as a possible solution to issues of backward compatibility between HTML 5 and XHTML 2. However, from a practical standpoint, I think the use of scripting introduces its own incompatibility issues[1][2]: Macintosh browsers interpret JavaScript differently from IE6 for Windows, for example. Should this be mentioned?


  1. ^ "Browser Compatibility: Introduction - Doc JavaScript". webreference.com.
  2. ^ "What Does and Does Not Work With JavaScript". webdevelopersjournal.com.

69.140.152.55 (talk) 10:20, 27 July 2008 (UTC)[reply]

I don't think it's worth mentioning, as it would add unnecessary bulk to what is after all just two sentences. In practice I can't see cross-platform JavaScript becoming an issue here for the average developer, as they'll be more likely to use a JS library rather than rolling their own code. Thanks, Dave H. Hexene (talk) 15:42, 27 July 2008 (UTC)[reply]


The statement about scripting introducing its own incompatability cites a non-existent reason. The difference in differences seen between browsers running the same script is a function of the browsers lack of compliance with interpretation. Language syntax that doesn't conform to the language specs should through an error and refuse to run. Same goes for HTML -- errors in any of the markup languages. But the browsers have not been compatible with the W3C standard, which is a standard as opposed to simply using the term, and this problem goes back at least 9 years.


207.225.112.245 (talk) 10:20, 9 Dec 2008 (UTC)

Wikipedia, XHTML, and You!

The article lists Wikipedia as XHTML 1.0 Transitional, but a check on the W3C validator says it's XHTML 1.0 Strict. It's a minor nitpick, but is the caption for the image wrong? Markup of Wikipedia.org Tcardone05 (talk) 04:37, 28 July 2008 (UTC)[reply]

I would say the caption is correct. The front page at www.wikipedia.org is Strict, but most of the site -- en.wikipedia.org, de.wikipedia.org -- is Transitional. Cheers, Dave H. Hexene (talk) 19:28, 28 July 2008 (UTC)[reply]

Merge XHTML Basic to XHTML

Technically, XHTML Basic is just a subset of XHTML and the XHTML Basic article's contents would be better suited here instead of in a separate page. Also, this page is much more up to date on its recommendations and such when compared to the other article. Opinions? Karekare0 (talk) 22:19, 31 July 2008 (UTC)[reply]

  • Determining what information not to include can often be harder than deciding what to include. I wouldn't want to expand the XHTML Basic/XHTML-MP section of XHTML unnecessarily because the article as a whole would lose focus. I totally agree about the XHTML Basic article needing a tidy. Regards, Dave H. Hexene (talk) 22:47, 4 August 2008 (UTC)[reply]
  • Well, all the information in the XHTML Basic article is really already in this one. The history, use, description, and doctype of XHTML Basic is all in this article (even more so than in its own article), and having another article which just reiterates what's already here is pretty pointless. There wouldn't be really much to expand on in the current description. If XHTML 1.1 doesn't get its own page, why should XHTML Basic? karekare0 (talk) 02:29, 6 August 2008 (UTC)[reply]

I've merged the pages. karekare0 (talk) 18:32, 7 August 2008 (UTC)[reply]

Remove apostrophe from possessive "it"

{{editsemiprotected}}

In the section "Modularization of XHTML" the following sentence should have the apostrophe removed from "it's" as this is the possessive it, which uses no apostrophe.

"The feature is intended to help XHTML extend it’s reach onto emerging platforms, such as mobile devices and Web-enabled televisions."

Melizg (talk) 18:38, 4 August 2008 (UTC)[reply]

 Done Good job noticing that error :). All the Best, --Mifter (talk) 20:41, 4 August 2008 (UTC)[reply]

Oops. That grammatical error was me. :o) Hexene (talk) 22:47, 4 August 2008 (UTC)[reply]

Change title for XHTML 1.2

{{editsemiprotected}}

The XHTML 2 Working Group removed the "Meaningful, Accessible XHTML" subtitle from XHTML 1.2 some time ago. You can see this at http://www.w3.org/MarkUp/Drafts#xhtml12 - FWIW I am the editor of pretty much all of the XHTML family specs, so you can take it from me ;-) —Preceding unsigned comment added by Halindrome (talkcontribs) 18:55, 7 January 2009

 Done Cheers, Shane! haz (talk) 19:27, 7 January 2009 (UTC)[reply]

version attribute in the html element

Quoted from the "Root element" section:
"The root element of an XHTML document must be html, and must contain an xmlns attribute to associate it with the XHTML namespace. [...] For XHTML 1.1 and later there should also ideally be a version attribute to clearly identify the version of XHTML being used."
As I've understood the XHTML 1.1 DTD, the version attribute is fixed at "-//W3C//DTD XHTML 1.1//EN". Attempting to redefine it would be in vain. Perhaps the author of that line ment XHTML 1.2? Skoskav (talk) 01:16, 23 January 2009 (UTC)[reply]

Common errors

The last sentence of this chapter should omit the version number from internet explorer, since the problem concerns all the versions. —Preceding unsigned comment added by 88.192.10.239 (talk) 20:29, 24 January 2009 (UTC)[reply]