-
The < table> tag defines an HTML table.
-
Each table row is defined with a < tr> tag. Each table header is defined with a < th> tag. Each table data/cell is defined with a < td> tag.
-
By default, the text in < th> elements are bold and centered.
-
By default, the text in elements are regular and left-aligned.
-
Cell padding specifies the space between the cell content and its borders.
-
If you do not specify a padding, the table cells will be displayed without padding.
-
To set the padding, use the CSS padding property:
- Browsers come with a set of built-in objects that represent things like the browser window and the current web page shown in that window. These built-in objects act like a toolkit for creating interactive web pages.
- The window object represents the current browser window or tab. It is the topmost object in the Browser Object Model, and it contains other objects that tell you about the browser.