function(context) {
      var element = context.createElement("div"),
          html5   = "<article>foo</article>";
      element.innerHTML = html5;
      return element.innerHTML.toLowerCase() === html5;
    }
function(context) {
      var element = context.createElement("div"),
          html5   = "<article>foo</article>";
      element.innerHTML = html5;
      return element.innerHTML.toLowerCase() === html5;
    }
function ( context ) { var element = context . createElement ( "div" ) , html5 = "<article>foo</article>" ; element . innerHTML = html5 ; return element . innerHTML . toLowerCase ( ) === html5 ; }
Everything below IE9 doesn't know how to treat HTML5 tags

@param {Object} context The document object on which to check HTML5 support

@example
wysihtml5.browser.supportsHTML5Tags(document);
Everything below IE9 doesn t know how to treat HTML5 tags
returns true if the element is a div