code: function writeTag(name, attrs, close, content) {
    var end = close ? '/>' : '>'
      , pairs = []
      , tag;
  
    for (var key in attrs) {
      pairs.push(key + '="' + escape(attrs[key]) + '"');
    }
    tag = '<' + name + (pairs.length ? ' ' + pairs.join(' ') : '') + end;
  
    if (content){
      tag += content + '</' + name + end;
    }
    return tag;
  }
docs: HTML tag helper.