Where to draw the line between efficiency and practicality

I understand very well that the front ends of websites should be encoded and compressed as much as possible, however I feel that I have weaker standards than others when it comes to practical applications.

For example, although I understand why some of them, I see nothing wrong with placing selectors in tags <html>or <body>on a website with an expected low speed of visits. I would only do this for a cheap website for a small client, because otherwise I cannot justify the cost of time.

So, do you think it's good to draw a line? Where do you draw?

+3
source share
5 answers

Some recommendations can be safely ignored if you know what you are doing and why you are doing it.

Don't crop corners because you're lazy, but don't redo the 2-page website. Use your opinion.

But, if you are mistaken in thinking that you are better than you, either you or the future attendant will curse your existence.

+3
source

For example, although I understand why some of them, I see nothing wrong with placing selectors in tags or on a website with an expected low speed of visits.

, CSS . , . , ( ). , CSS , HTML , , .

- , .

, . , , .

+2

, , , - , , , , , line, css.

, HTML, , , css.

+2

, . .

, HTML JavaScript , - , , .. , , delta , , , . , , , .

+1

, . , , , .., , - . - , . , " ", , .

!

0

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


All Articles