Loading tutorials
table element, and the first decision you make with it is whether to use it at all. Tables are easy to misuse because a grid of rows and columns looks like a convenient way to line things up on a page. This chapter gives you a test for when a table is correct, shows what to use instead 8 min readtable, tr, and td elements from the previous chapter, and you can write simple CSS rules. It covers the th element: what it means, where it goes, how browsers display it, and the mistakes that cause trouble later.7 min read<caption> element: what it does, where it goes, how it differs from a heading, how to style it, and how it interacts with accessibility tools. It assumes you can write a basic table with table, tr, td, and th, and that you know basic CSS selectors and properties.7 min readtable, tr, td, and th, and that you know how caption names a table. You should also know basic CSS selectors. Here you learn how to split a table's rows into a header section, one or more body sections, and a footer section.7 min readtable, tr, td, and th, and that you know how attributes work. It also assumes you have read the earlier chapters on header cells and row groups.6 min readtable, tr, td, and th. It also assumes you know what caption and thead/tbody/tfoot do, and that you can use attributes. Here you will learn how scope tells assistive technology which cells a header describes. You will also learn7 min readtable, tr, th, and td. It also assumes you know how to group rows with thead and tbody and how to write simple CSS rules with class selectors. Spanning cells with colspan helps, because column groups depend on the same idea of a gri7 min readid and headers attributes tie each data cell to every header that applies to it. It assumes you know basic HTML document structure, how to write elements and attributes, and the table elements from earlier chap6 min readtable, tr, th, and td. It also assumes you know scope, caption, and basic CSS selectors and media queries. Here you will learn why wide tables break small layouts, how to contain them, and when to change the layout instead.7 min readtable, tr, td, th, caption, thead, tbody, tfoot) and use colspan, rowspan and scope. It also assumes you know basic CSS selectors. Here you review the errors that appear most often in real tables, the way browsers reac7 min read