Thursday, 5 July 2012

TR


tr
Table row. tr elements must appear within a table element.
Attributes
  • align can be used to horizontally align the content of the cell. The value can be leftcenterrightjustify or char.
  • valign can be used to vertically align the content of the cell. The value can be topmiddlebottom or baseline.
  • char can be used to specify a character with which cells will align, such as a decimal point. It is not supported by any major browser.
  • charoff can be used to specify the number of pixels the alignment should be offset from the char character. It is not supported by any major browser.

Example

<table>
        <tr>
               <th>Question</th>
               <th>Answer</th>
               <th>Correct?</th>
        </tr>
        <tr>
               <td>What is the capital of Burundi?</td>
               <td>Bujumburra</td>
               <td>Yes</td>
        </tr>
        <tr>
               <td>What is the capital of France?</td>
               <td>F</td>
               <td>Erm... sort of</td>
        </tr>
</table>

No comments:

Post a Comment

Physics basic inventions and inventors

1.Which instrument is used to measure altitudes in aircraft's ? Audiometer Ammeter Altimeter Anemometer Explanation : ...