Imagine you open the match day and want to embed the current Bundesliga table directly into your own website. That is exactly what this exercise is about. You recreate the table in the style of bundesliga.de in HTML and apply what you have learned about tables so far. In the end, you have a complete table with 18 rows, clean header rows, and an extension in which the club names link to their homepages.
The exercise is primarily practical. You have to understand the structure, assign the data correctly, and nest everything cleanly. Don't be put off if there seem to be a lot of columns at first. Every column follows the same pattern.
Key Takeaways
An HTML table consists of a table element, which contains rows (tr), and the rows contain cells (th for header cells, td for data content).
The Bundesliga table includes 18 teams, so you need at least 18 data rows.
The columns are position (PL), club (Verein), games (Spiele), goal difference (TD), and points (Punkte).
You open links to the club homepages in a new browser tab with the attribute target="_blank".
Step-by-Step Guide
Step 1: Clearly Define the Goal
Before you open the first tag in the editor, take a look at the template. The exercise is based on the table on bundesliga.de. There you will find all the information you want to reproduce later. It is important that you create the table as a real table and do not rebuild it with paragraphs or divs. Only then do browsers and screen readers recognize the relationship between columns and rows.

Step 2: Understand the Columns
Next, you clarify what the individual columns mean. The first column with the abbreviation PL stands for the position, that is, the place from 1 to 18. The second column contains the club name. After that comes the number of games played. This information is particularly important because not all teams have played the same number of matches. For example, if a team already played on Friday evening, it may have more points even though it has won fewer games overall. The number of games therefore shows you how meaningful the current standing is.
Step 3: Classify the Goal Difference Column
The TD column stands for goal difference (Tordifferenz). It is calculated from goals scored minus goals conceded. An example: Schalke has conceded seven more goals than it has scored, so there is a negative value there. Bayern, on the other hand, has scored 37 more goals than it has conceded and thus achieves a significantly more positive value. Make sure you enter the values with their signs so that the difference is immediately recognizable.
Step 4: Create the Table as a Basic Framework
Now you begin with the actual code. First create the table element and divide it into a header section (thead) and a data section (tbody). The header row contains the column labels. Use the th element for this, because browsers treat these cells as headings. This is what the basic framework looks like with one example row:
The header row therefore consists of five th cells, all of which sit within a single tr row. Make sure that every opening tag has a closing tag. Missing closing tags are a common source of errors.
Step 5: Fill the 18 Rows
Now comes the most extensive part. You need at least 18 tr rows in the data section, one for each team. Copy the example row and adapt it for each team. The position goes in the first cell, the club name in the second, followed by the number of games, goal difference, and points. Work row by row and check after each group of about five rows whether the number of columns is correct. A missing cell shifts all values in that row to the left and leads to a confusing table.
Step 6: Consider the Order When Points Are Tied
While filling in the table, you will notice that identical point totals occur. The table is then not sorted only by points, but the number of games decides the order. If a team has played more games, it may be placed further down when points are equal. With the Spiele column, you can follow this situation without overloading the table with additional information.
Step 7: Do without the club logos
In the template you will find club logos. In this exercise, you should leave them out. The reason is image rights. You may not simply download and publish logos. The sample source code therefore does without images, and that is perfectly fine. The exercise trains building the table, not the graphics.
Step 8: Implement the extension with links
As a bonus task, you can link the club names to the clubs' homepages. To start with, the first three clubs are enough. A link is created with the element a and the attribute href. So that the link opens in a new browser tab, you add the attribute target="_blank". For security reasons, it is also recommended to add rel="noopener noreferrer". Here is what an example looks like:
Step 9: Check the tab effect
Open the HTML file in the browser and click on one of the linked club names. The homepage should open in a new tab, while your table stays in the original window. If the link opens in the same window, check whether you have written the attribute correctly. Upper and lower case do not matter here, but the quotation marks do.
Summary – Creating an HTML Bundesliga table: step-by-step guide
You have now created a complete Bundesliga table in HTML. You know the meaning of the columns, know how header rows are built with th and data rows with td, and can have links open in new tabs with target="_blank". The exercise shows you that large tables consist of simple, repeated building blocks. Once you have understood the pattern, you can create any other table following the same principle.
FAQ
Do I absolutely need 18 rows for the exercise?Yes, the Bundesliga has 18 teams, and each team belongs in its own row.
Why are the club logos left out?Logos are subject to image rights, so they are not used in the exercise.
What happens if I forget target="_blank"?The link opens in the same window, and the table is replaced by the linked page.
Which element do I use for the header rows?You use the element th, because it marks header cells.
