I am using CSE HTML Validator v11.0213 within Nusphere PhpED. When I have a document without doctype like
- Code: Select all
<?php
/**
* The main template file.
*
*/
get_header(); ?>
<div id="left-col">
<section id="foo">
[...}
all the HTML5 tags are unrecognized. When I add the doctype like
- Code: Select all
<?php
/**
* The main template file.
*
*/
get_header(); ?>
<!doctype html>
<div id="left-col">
<section id="foo">
[...}
everything is ok.
So the question is:
When working with splitted up templates, the detection based on doctype cannot work... so can I force HTML Validator into HTML5 mode?



