The deleteCaption() method of the HTMLTableElement interface removes the first element child from a given
deleteCaption()
MDN Reference