Tables are composed of rows and columns. They are used to display data. Remember that:
The table tag creates a table. Rows are defined using the tr tag and cells are defined using the th or the td tag.
The following table is composed of three rows and eleven columns and their cells:
Movies | Year | Budget | Length |
---|---|---|---|
star wars: episode i - the phantom menace | 1999 | 115 million | 2 hours 16 minutes |
Star Wars: Attack of the Clones | 2002 | 120 million | 2 hours 22 minutes |
Star Wars: Revenge of the Sith | 2005 | 113 million | 2 hours 20 minutes |
Star Wars: A New Hope | 1977 | 11 million | 2 hours 1 minute |
The Empire Strikes Back | 1980 | 18 million | 2 hours 4 minutes |
Return of the Jedi | 1983 | 32.5 million | 2 hours 11 minutes |
Star Wars: The Force Awakens | 2015 | 306 million | 2 hours 16 minutes |
Star Wars: The Last Jedi | 0 | 0 | 2 |
Star Wars: Episode IX | 0 | 0 | 2 |