Is it possible to define one class for h1 and h3?

I have one header on the page. It is prescribed through h1. The page has more of this text, but I use h1 more than once on the page, in the text prescribe h3. In the style of h1 and h3 are identical. Can they ask a single class?
April 7th 20 at 15:53
2 answers
April 7th 20 at 15:55
Yes, you can.
Most importantly, keep the logical contents. H1 - importantly, h3 secondary

The same styles apply to the class.
The differences to the tag h1 or h3
April 7th 20 at 15:57
Yes, you can.

Find more questions by tags HTML