# File lib/html5/html5parser/phase.rb, line 35
    def self.tag_handlers(prefix, *tags)
      mapping = {}
      if tags.last.is_a?(Hash)
        tags.pop.each do |names, handler_method_suffix|
          handler_method = prefix + handler_method_suffix
          Array(names).each {|name| mapping[name] = handler_method }
        end
      end
      tags.each do |names|
        names = Array(names)
        handler_method = prefix + names.map {|name| name.capitalize }.join
        names.each {|name| mapping[name] = handler_method }
      end
      mapping
    end