Skip to Content

Basics of Web Design
HTML5 & CSS3 Second Edition

Chapter 9 – Table Basics

While back in the day tables were often used to format the layout of a web page, CSS is the page layout tool of choice for modern web designers. In this chapter, you'll become familiar with coding HTML tables to organize information on a web page.

Tables & Accessibility

Accessibility: Screen Readers

A Look Ahead to CSS "Tables"

if you'd like to explore using CSS to style table-like layouts on web pages, check out the CSS display property. As you may recall from previous chapters, the CSS display property configures whether and how an element is displayed. You've already worked with display: none, display: block, and display: inline.Rachel Andrew's article, "Everything You Know About CSS Is Wrong", encourages developers to embrace the display: table coding methods. Be aware that this technique is still quite limited. For example, there is no built-in mechanism to emulate the rowspan or colspan attribute in HTML tables. However, this is in the works with the CSS3 draft recommendation at, which includes new CSS specifications for working with multicolumn layouts and grid positioning.

Chapter Updates

  • There are no updates for this chapter.

Questions or Comments

The author would like to hear from you!
Feel free to complete the contact form with your questions or comments.

Book Cover

Review Games

Review activities are available for this chapter. Check your knowledge of chapter terms and concepts.

Share |