• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part I: Learning XHTML > Working with Tables

Chapter 5. Working with Tables

In the early days of HTML, one of the most challenging page design problems dealt with the inclusion of tabular content. How could you readily structure data that was more than just a simple list? Authors needed to create grids, spreadsheets, and other information that rightfully belonged in a table if it were to be printed on paper, yet HTML didn't always have this facility. Thankfully, tables were included in HTML 3.2, and are again available in enhanced form in XHTML 1.0.

After their introduction, Web designers quickly realized that tables could be used for more than just truly tabular content. By organizing the content of a page into columns and rows, enhanced visual designs could be achieved. Some early WYSIWYG design tools went overboard with this idea, trying to give the designer "pixel perfect placement" control over page content, resulting in dozens and dozens of tables per page. I won't go so far as to tell you that you can't use tables for visual layout, but when you do, you should understand the ramifications of doing so when your pages are viewed by alternative devices.

This chapter teaches you:

  • How to create a basic table

  • How to merge columns and rows

  • How to create tables within tables

  • How to improve the usability of tabular data


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint