Implemention of HTMLMainElement