@classmethod
def get_child_class(cls, tagname):
    """Returns the child class where the tagname can be added. For example
        if it's an element of list return the list class.
        """
    for c in cls.children_classes:
        for tn in c._get_creatable_class_by_tagnames():
            if tn == tagname:
                return c
