M
M
Max Ba2020-04-20 18:25:21
css
Max Ba, 2020-04-20 18:25:21

Is it possible to often write styles in tags?

I came to the conclusion that more often, in order to make a modification to styles, it is easier to write them directly into the tag than to climb into style.css. It's clear, we are talking about small fragments, for 3-5 css properties. And what's more, it's all valid.
From the point of view of SEO, and probably the performance of browsers, can you do this often?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2020-04-20
@phpcoder81

It's not about speed.
In a year, you will open this project to make some changes, and you will have to remember whether they are in css or directly in tags. And if not you open, but your employee, it will be even more difficult for him.
Those. technically, no one is stopping you from cutting bread with a chainsaw, hammering nails with a microscope, and skiing on asphalt. But this is somehow not good, ugly ... wrong?

A
alalala, 2020-04-20
@alalala

do what you want
crash, break
in tags you won't change styles for media queries

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question