'caption' Example : caption : Table Tags HTML CSS TUTORIALS


HTML CSS TUTORIALS » Table Tags » caption »

 

'caption' Example



    
<html>
<head>
<title>caption element example</title>
</head>
<body>
   <center>
       <table id="myTable" 
              width="200" 
              border="8" 
              cellspacing="5" 
              cellpadding="5" 
              align="center">
          <caption id="myCaption" valign="bottom" style="color:red">
             Table 1-1. This is the caption for this table.
          </caption>
          <tr>
              <td>Cell 1</td>
              <td>Cell 2</td>
          </tr>
          <tr>
              <td>Cell 3</td>
              <td>Cell 4</td>
          </tr>
       </table>
   </center>
</body>
</html>
           
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Table Tags
» caption