xhtml-1.1

How can I get the WordPress language_attributes function to return valid XHTML 1.1?

I have a WordPress template that contains the following element: <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?>> This returns: <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US"> Unfortunately the "lang" attribute is invalid XHTML 1.1 - and the client would like thi...

should we use frameset doctype if we use iframe?

Why iframe declared as non-standard thing? It has usefulness. Is it allow to use in xhtml 1.1 ? or should we use frameset doctype if we use iframe? ...

Can we use <a> directly in body, or it should always in any block level tag, see example ? xhtml

Which is right? <h2>heading 2</h2> <p><a href="#" target="_blank" title="Opens in a new window">link 1</a></p> <h2>heading 2 </h2> <p><a href="#" target="_blank" title="Opens in a new window">link 2</a></p> <h2>heading 2 </h2> <p><a href="#" target="_blank" title="Opens in a new window">link 3</a></p> <h2>heading 2 </h2> <p><a href="#" ...

IE8 fails at displaying the page completly

When I open my project, Only the background and a image not found item are shown, while the page is 100% xhtml 1.1 strict. The developer tools show IE stops rendering after the SVG logo... Firefox works as it should. Damn You IE! ...

Is XHTML 1.1 better then other doctypes ?

This is stated on this page http://www.veiled-chameleon.com/xhtml11.html XHTML 1.1 allows for the easy creation of different display formats, such as a page format for printing, for wireless devices and PDAs, and television based browsers, simply by writing a new CSS (cascading style sheet) for the new document. Update:...

Why Xhtml 1.1 goes into quirk mode?

i'm not using I'm only using this dtd as a first thing in a page? which has no problem to render strict mode. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"&gt; and checked quirks mode with this site http://vesa....

Why target="_blank" is not advisable to use with XHTML?

and It's validated in XHTML 1.1 and WCAG 2.0 Guidelines doesn't have any info about it's use? I know it's not valid in XHTML 1.0 strict but if many people using other ways like JavaScript, jquery, rel attribute, PHP etc. Does it make sense? it means people don't want to follow validation rules. they just want to pass the validation. ...

<td align="left" valign="top"> why no error in w3c validator for this?

<td align="left" valign="top"> is it mean both are valid? ...

Can I have an XHTML document with an XML declaration in standards mode for IE6?

I've been reading about this for the last half hour, and here's what I understand: IE 6 will render a page in standards mode if there's a valid DTD, but not if there are any comments above the DTD. The XML declaration is a comment that goes above the DTD. If the XML declaration is wrapped in a conditional comment, the page will rende...

Why is XHTML1.1 dated *before* XHTML1.0 ? What is the preferred XHTML today?

I'm not clear on the status of XHTML - v1.0 and v1.1. Can someone explain which is preferred at this point, and why? The specs from w3c say that XHTML 1.1 predates* XHTML 1.0, which is exactly counter-intuitive, to me. http://www.w3.org/TR/xhtml11/ - W3C Recommendation 31 May 2001 http://www.w3.org/TR/xhtml1/ - W3C Recommentation...

Replace a word in an XML file through StreamReader in XNA?

Okay, so this is sort of a hack...but it may have to be. I'm writing an app in XNA, which from my research into this problem apparently doesn't support XML version 1.1. I'm reading in the contents of an ePub document, and one of the newer books contains its content directory as a version 1.1 XML document. This causes my program to crash....

Dojo with application/xml+xhtml content-type

How can I get Dojo Dijits (1.5.0, currently) to work with XHTML as application/xml+xhtml? It works if sent as text/html, but application/xml+xhtml is required. This seems to be tied to dijit.form.DatePicker and a few others. This isn't a matter of validating against W3C, it just plain doesn't work, at all. Error: mismatched tag. Expec...

Validation (CSS 2.1): 'behavior' is not a known CSS property name.

hello, i am using whatever:hover (http://www.xs4all.nl/~peterned/csshover.html) script to mimic the :hover selector in IE6. the suggested use it to attach it to the body element as IE6 behavior. but all my pages use XHTML 1.1, so CSS validation in VS2008 fails when I try to publish my site, so publishing fails. are there good ways to f...

How to use a JavaScript variable as a XHTML attributes value?

I have tried: ... <script type="text/javascript"> var myVar = "some string"; </script> ... <input name="&{myVar};" ... /> ... But using FireFox the name is set to the literal string: "&{myVar};" instead of the value of myVar... UDPATE: I see this called JavaScript Entities and hasnt been supported for a long time - but there must b...