--- url: "https://www.w3.org/WAI/tutorials/tables/one-header/" titulek: "Tables with One Header | Web Accessibility Initiative (WAI) | W3C" h1: "Tables with One Header" popis: "Accessibility resources free online from the international standards organization: W3C Web Accessibility Initiative (WAI)." jazyk: "en" kanonicka: "https://www.w3.org/WAI/tutorials/tables/one-header/" drobecky: ["Home", "Design & Develop", "Tutorials", "Tables", "One Header"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 23:31:55" znaku: 1215 slov: 207 kodovani: "utf-8" sha256: "7988db8cfcbbf1581a67ed493ecb6a005535d06854de0cb8a348a2f8d62068fb" --- If the table content is ambiguous or has both column and row headings, the `scope` attribute should be used to avoid confusion. For more guidance on such tables, see [tables with two headers](/WAI/tutorials/tables/two-headers/). The following table of concerts has the cells in the first row marked up using the `` element. This is only acceptable because it is such a small table and the data itself is distinctly different in each column so that the relationship between the header and data cells is evident. In the following table, the data from the previous example is laid out with the header column on the left. Also in this situation, it is only acceptable to use this code because it is such a small and straightforward table. The next pages in this tutorial explain how to code more complex tables. ## Table with ambiguous data In this example, the data (first name, last name, and city) can’t be distinguished from one another without knowing which header each corresponds to. The `scope` attribute with the value `col` defines the direction of the header cells and associates them with the corresponding data cells. The `scope` attribute is also needed for larger tables with one header row or column. Back to Top