What is this I hear about the table tag being deprecated?

前端 未结 4 557
野趣味
野趣味 2021-01-11 11:22

Because that might mess me up, somewhat. I\'m not entirely clear on what I\'m supposed to use to replicate some of its functionality effectively, should I adopt a newer sta

4条回答
  •  粉色の甜心
    2021-01-11 11:44

    It is definitely not being depreciated. I also thought I heard this, however, it was simply a statement implying that the table tag is not as effective as the div tag in terms of layouts as table columns do not drop down when the screen size is reduced.

    One thing that I am very concerned about, is that we are yet to have a similar html element that can act as a table, but collapse down like a div in smaller screens without any css. This would really save time as the only thing one would need to declare is the width of each column, and not have to write too much css for column positioning (blocks, inline-block etc).

提交回复
热议问题