Id Name Position Salary
Table Caption
Employee Id Employee Name Position Salary Gender Address
next page ... next page ... next page ... next page ... next page ... next page ...
EMP0001 Margaret Martin Accountant 56,000 Female 1230 North Ave. Dallas, Texas 98551
EMP0002 Martha Raynolds Secretary 35,000 Female 1900 Dallas Road Dallas, Texas 98554

The deleteTHead() method deletes the header from the table. The deleteTHead() method will delete the THEAD Element from the second TABLE element. First make sure that the THEAD element exists and then count the number of rows. After the THEAD element is deleted there should be one less row.