def createElement(self, tag: str) -> Node:
        """Create new element whose tag name is ``tag``."""
        return create_element(tag, base=self._default_class)
def createElement ( self , tag : str ) -> Node : return create_element ( tag , base = self . _default_class )
Create new element whose tag name is ``tag``.