code: function stringify(name, attrs) {
      var str = [];
      str.push('<' + name);
      each(function(val, key) {
        str.push(' ' + key + '="' + val + '"');
      }, attrs);
      str.push('>');
      // block
      if (name !== 'img') {
        str.push('</' + name + '>');
      }
      return str.join('');
    }
docs: Create a DOM node string.