code: def prepend(self, *nodes: Union[str, AbstractNode]) -> None:
          
          node = _to_node_list(nodes)
          if self.firstChild:
              self.insertBefore(node, self.firstChild)
          else:
              self.appendChild(node)
docs: Insert new nodes before first child node.