code: function createHTML(htmlStr) {
          var frag = document.createDocumentFragment(),
              temp = document.createElement('div');
          temp.innerHTML = htmlStr;
          while (temp.firstChild) {
              frag.appendChild(temp.firstChild);
          }
          return frag;
      }
docs: Create a document fragment
  
  @param {string} html code