Returns the table's CAPTION, or void if none exists. The value of attribute caption of the table element is read and checked against the expected value.