Chapter 4
Building Tables with Your Bare Hands
IN THIS CHAPTER
Learning why tables are useful
Touring a typical table
Creating simple tables
Crafting ever-so-slightly advanced tables
Making your tables stylish
If a picture is worth 1,000 words, then surely a table is worth at least 500.
— ANONYMOUS
Your web pages will mostly consist of text and a few images or other media. However, every now and then you’ll need to offer some data to your page visitors. It may be the results of an experiment, some financial numbers, or an inventory of your cubic zirconia collection.
How you present that data depends on how much data there is and how it’s structured. In many cases, data is best presented in a row-and-column format that’s reminiscent of a spreadsheet or database. That sounds like it may require some advanced coding techniques, but HTML rides to the rescue here with a collection of elements that enable you to build a special web page structure called a table.
In this chapter, you learn ...
Get HTML, CSS, & JavaScript All-in-One For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.