As usual, more errors in XHTML comments without any true understanding of what it is.
- XHTML uses an XML parser.
- HTML uses an HTML parser.
, . PHP , isset. ? input , , . PHP, , .
, , Safari . XML, ( Firefox) , , , , ( Firefox ). ? ; .
, HTML5, . XHTML5, HTML5, XML. ( id ), .
, IE8 XHTML ( XML), IE8. , , - "" , XHTML, , :
<?php
if (stristr($_SERVER['HTTP_ACCEPT'],'application/xhtml+xml'))
{
header('Content-Type: application/xhtml+xml');
echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
}
?>
, IE8 quirks, XML, 2016 , , , .
XHTML5, , . , , -, , , , .
XML, <br>, , . , (, *.php;*.css;*.xml) , , , . , Wine, Linux grep, . , , , , !