V
V
Vitaly Max2019-07-14 20:46:02
css
Vitaly Max, 2019-07-14 20:46:02

How to style headers?

Hey! I made up a site, for the headings h1 and h2 I set classes, for classes styles.
Seoshnik conveyed that it is not necessary to do this, they say write styles immediately for headings (that is, tags).
I didn’t manage to talk to him personally and hear the arguments why this is so ??
I decided to ask you, dear connoisseurs! =)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Suha, 2019-07-14
@RaggaMaffin

In my opinion, on the contrary, it is better to style classes, and not tags, it seems like the browser is faster to find a class. And I would send a SEO specialist without arguments to do SEO

A
Alex Glebov, 2019-07-14
@SkiperX

The only argument is that there is text that is edited through a visual editor.
In other cases, the tag must be replaceable (h1, h2, div) and this should not affect the appearance that is hung on the class.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question