H39: Using caption elements to associate data table captions with data tables

HTML Snippet Code
Scenario 1: Tables with a caption do not have caption element.
Sales for current year
Product Price
Product 1 $126.99
Product 2 $300.75
<table cellspacing="0" border="1"> <thead> <tr> <td colspan="2">Sales for current year</td> <tr> </thead> <tbody><tr> <th scope="col">Product</th> <th scope="col">Price</th> </tr> <tr> <td>Product 1</td> <td>$126.99</td> </tr><tr> <td>Product 2</td> <td>$300.75</td> </tr> </tbody></table>