Edit the index.php file and simply change it. XHTML1 is like 10 years old and isn't even maintained anymore. They've dropped all backwards support and focusing on HTML5/XHTML5 (they're basically the same now with HTML5). As far as I am aware our plans for CB 2.0 are to be completely HTML5 compliant. Joomla 2.5 uses HTML5.Richard67 wrote: HTML5 is not Joomla standard yet, or is it?
What I've seen is all templates wich I know produce XHTML 1.
That seams unnecessary for a single attribute. It won't break anything, but it simply won't pass the older W3C tests. If you want the badge then just W3C test for HTML5 and it should pass (set "Document Type" to HTML5 under "More Options", confirmed this passes for me in my tests).From my point of view CB should generate valid markip according to the document type. Can't CB check the document type and integrate autocomplete only if HTML5?
Please Log in or Create an account to join the conversation.
Which one? The one in Joomla root does not set the document type, I think it is the template which does.Edit the index.php file and simply change it.
Hmm, but why do I get XHTML 1.0?Joomla 2.5 uses HTML5.
Hmm, it does not. W3C markup validator complains about havinf found XMl at the very first line:If you want the badge then just W3C test for HTML5 and it should pass
Line 1, Column 2: Saw <?. Probable cause: Attempt to use an XML processing instruction in HTML. (XML processing instructions are not supported in HTML.)
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html><!-- <!DOCTYPE html PUBLIC…
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.