O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Displaying Data Using Tables

Probably the layout feature most frequently used (and most useful) is tables. HTML tables enable you to create grids that can contain text, graphics, and more. Tables are used to facilitate a more controlled page layout, including placing content side by side, in columns, and wrapped around images.

Creating tables involves three sets of tags:

  • <table> and </table>— Used to create the table

  • <tr> and </tr>— Used to create rows in the table

  • <td> and </td>— Used to insert cells within a table row (<th> and </th> also can be used for header cells—essentially data cells formatted a little differently, usually centered and in bold)

So, a simple table with a header row, two columns, and three rows of data (as seen in Figure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required