r/learnwebdev • u/samacct • Dec 20 '19
Table on a website
I have a simple excel sheet that I would like to put on a website
How would you put the table on a webpage?
1
Upvotes
r/learnwebdev • u/samacct • Dec 20 '19
I have a simple excel sheet that I would like to put on a website
How would you put the table on a webpage?
View all comments
Show parent comment
1
u/xcjs Dec 20 '19
Grid/flexbox are used for making responsive tables that adjust to smaller screens or changes in window size.
If you have a table of data that you don't want to rearrange based on the viewport, you definitely want a plain HTML table.
If you want a table that can be sorted, you'll want to look into using JavaScript to add that ability to the table. There are probably some JavaScript libraries/jQuery plugins that make that easy to do, but you will have to have some knowledge of programming.