Why use the th element instead of the td element?

I read the differences between the HTML thand the thelements used in<table>

According to http://webdesign.about.com/od/tables/f/blfaqthvstd.htm , the itemth defines the current cell as a table header.

It goes on to say that some browsers will render the element thdifferently (determined by the browser), but then the article advises you not to style TH yourself (I suppose using CSS).

I am completely confused by this; This suggests that using the thelement does not give us any design control and does not matter / value ...

I know that some elements are older and some become obsolete, but I do not find any mention that the thelement is depreciated and cannot see the values ​​in it.

Someone let me know if I misunderstood please. Google reads TH in different ways (again, my research doesn’t show anything), does the item help the thbrowser display the table, or is it just an option that we can use if we want to?

+5
source share
3 answers

1) Why use an element thinstead of an element td?

, td th, , , , , th, thead, tfoot .., , div , p , ?

, , , , , em , em, , , , em , , , .

, , , body, .

, , table th, , td, , -, .


2) , th .

, th


3)

, , th


4) , th , .

, / [1]

[1]. , .

+10

. , , th; , th "", .. -, , , . ( , , .)

th . , - , , .

, , . , , , "32 ° C", , " ", "" .

th ; HTML5. ; CSS, . , .

, ( HTML5).

+2

TH, W3C, , .

SEO. HTML-.

SEO -: .

: .

. :

STRONG? SPAN, CCS "font-weight: bold"!

, ( W3C), , . , HTML5 , ADRESS, SECTION, ARTICLE, ASIDE, NAV,...

+1

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


All Articles