How to apply style only to the header in the table?

Hello, how to apply style only to the header in the table?
March 23rd 20 at 18:58
1 answer
March 23rd 20 at 19:00
Create and insert a class directly in the header.Or prescribe using style, if you already have some styles with the highest priority.
Or through inheritance:
table th{
}

Find more questions by tags CSS