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 createCaption() method creates a new table caption object or returns an existing one. Create a new CAPTION element on the first TABLE element. Since one currently exists the CAPTION element is not created and you can get the align attribute from the CAPTION element that exists.