|Even More HTML
Computing Resources >> Tutorials >> Web Development >> Even More HTML
Tables provide a structure for organizing data into “grids” on the page, and can also be used to set up your layout.
The HTML code for the basic table structure is shown below:
<table border=1 >
The border=1 attribute in the <table> tag instructs the browser to draw a line around the table with a thickness of 1 pixel. Each row is defined by Table Row tags <tr>…</tr> and then cells in each row are defined by Table Data <td>…</td> tags. Each <td>…</td> tag can contain any other type of HTML tag, headers, styled text, hypertext links, graphics, etc.