Is a TD element an element of an inline element or level block?

Is the TD element in the table a block level element or an inline level?

in the tr tag, we can have several TD elements. now I have a question: is the td element an inline element? or not?

+4
source share
1 answer

In terms of style, this tdis the (default) element table-cell. They are more like inline-blockthan they are like block, but they are different from both. This is their own thing.

+5
source

Source: https://habr.com/ru/post/1527391/


All Articles