O'Reilly logo

Teach Yourself Visually™ HTML5 by Mike Wooldridge

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

CHAPTER 8

Working with Tables

Are you looking for a way to organize data on your web page into rows and columns? This chapter shows you how to use HTML tables to do this. You create tables using an outer <table> tag and various other tags within it. A <tr> tag defines a row in a table, and <td> tags define data cells within the row. In addition to organizing data with tables, you can add color or background images behind the data in tables. You can also use tables as layout tools to organize sections of content on your page.

image

Understanding Table Structure

Add a Table

Add Table Borders

Adjust Cell Padding and Border Spacing

Adjust Cell Width and ...

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