function html_tag($tag = null, $attributes = array(), $content = false)
 {
     // Avoid name conflict with a previously written function. --------
     if (is_array($tag) || is_object($tag)) {
         if (function_exists('html_tag_no_conflict')) {
             return html_tag_no_conflict($tag);
         }
     }
     $tag = trim(@(string) $tag);
     if ($tag == '' || !xml_tag_valid_name($tag)) {
         if (function_exists('html_tag_no_conflict')) {
             return html_tag_no_conflict($tag);
         }
     }
     //-----------------------------------------------------------------
     $has_content = $content !== false && $content !== null;
     switch (strtolower($tag)) {
         case 'script':
             $has_content = true;
             break;
     }
     return '<' . $tag . html_attr($attributes) . ($has_content ? '>' . $content . '</' . $tag . '>' : ' />');
 }
 public function html_begin()
 {
     return html_tag_no_conflict($this->get_attribute(0));
 }